The purpose of this document is to show how to deploy camel-ipp component on Jboss server.
Before starting there are prerequisites that must be performed to setup the Infinity Process Platform Portal and the Process Engine in JBoss.
Then, change the jndi-name in the ipp-jcr-ds.xml file located in %JBOSS_HOME%/server/<server-name>/deploy
Once the environment is installed, we can use Maven archetype templates. To prepare a WAR deployment for JBoss 7.1, use the corresponding archetype:
Maven command sample:
mvn archetype:generate -DarchetypeGroupId=com.infinity.bpm.archetypes -DarchetypeArtifactId=ipp-archetype-jb71-ipp-portal-war -DarchetypeVersion=8.1.0 -DgroupId=com.infinity.test -DartifactId=ipp-portal -Dversion=1.0-SNAPSHOT
Do the following modification to the file WEB-INF/config/ipp/spring/jackrabbit-jcr-context.xml:
In web.xml change:
<context-param>
<param-name>carnot.login.MODEL_REQUIRED</param-name>
<param-value>false</param-value>>
</context-param>
Do the following steps to log into the portal:

In this section we will deploy a simple model using Camel Trigger which intercept information from file and put them in structured data.
The model:

From Camel 2.8 onwards there is no longer the need for using the camel-jboss component as Camel is now capable of loading type converters without package scanning.
But if you are using a Camel version prior to 2.8, and before deploying the model there are some changes in ipp-portal.war that must be performed:
<bean id="jbossResolver" class="org.apache.camel.jboss.JBossPackageScanClassResolver"/>
Run the server and deploy model from administrator view in portal:
Administration> Model Management> Deploy New Model
The following screenshot shows the content of file, Once you put file in folder Camel Trigger load it and send data to IPP.
