Hey
I get following exception while starting my route with CXF. I guess my
project was executing fine till 2 days back. But today I have this issue.
*Error occurred while running main from: org.apache.camel.spring.Main
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:440)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.camel.RuntimeCamelException:
java.lang.RuntimeException: Soap 1.1 endpoint already registered on address
http://D-113063918:9191/mes/bw/MEStoBW_Material
at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)
at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:280)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)*
I am posting my camel route file for your reference
*<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:cxf="http://camel.apache.org/schema/cxf"
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xmlns:sec="http://cxf.apache.org/configuration/security"
xmlns:ctx="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd
http://cxf.apache.org/bindings/soap
http://cxf.apache.org/schemas/configuration/soap.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://cxf.apache.org/configuration/security
http://cxf.apache.org/schemas/configuration/security.xsd
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
">
<ctx:property-placeholder
location="file:D:/FactoryESB-PropertyFiles/ID_Name.properties,file:D:/FactoryESB-PropertyFiles/utility.properties"
/>
<cxf:cxfEndpoint id="ISSUEINVENTORY_CXF" address="${fuseEndpoint}"
serviceClass="outotec.pi.mes.id52.materialconsumptions.SIID52MaterialConsumptionAsyncOut"
wsdlURL="wsdl/SI_ID52_MaterialConsumption_async_outService.wsdl"
serviceName="ons:SI_ID52_MaterialConsumption_async_outService"
endpointName="ons:HTTP_Port"
xmlns:ons="urn:outotec:pi:mes:id52:MaterialConsumptions"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
</cxf:cxfEndpoint>
<bean id="jmsConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="${brokerURL}" />
<property name="userName" value="${brokerUserName}" />
<property name="password" value="${brokerPassword}" />
</bean>
<bean id="pooledConnectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory"
init-method="start" destroy-method="stop">
<property name="maxConnections" value="8" />
<property name="connectionFactory" ref="jmsConnectionFactory" />
<property name="idleTimeout" value="0" />
</bean>
<bean id="jmsConfig"
class="org.apache.camel.component.jms.JmsConfiguration">
<property name="connectionFactory" ref="pooledConnectionFactory" />
<property name="concurrentConsumers" value="10" />
</bean>
<bean id="AMQbrokerConnector"
class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="configuration" ref="jmsConfig" />
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder
location="file:D:/FactoryESB-PropertyFiles/ID_Name.properties,file:D:/FactoryESB-PropertyFiles/utility.properties"
id="placeholder" />
<onException useOriginalMessage="true">
<description>Exception Handler Startes</description>
<exception>java.lang.Exception</exception>
<handled>
<constant>true</constant>
</handled>
<setHeader headerName="CamelExceptionDetails ">
<simple>${exception}</simple>
</setHeader>
<to uri="AMQbrokerConnector:topic:T_EXCEPTIONSTRATEGY" />
<log message="${exception}" loggingLevel="WARN"
logName="Exception_{{interfaceID}}{{interfaceName}}" />
</onException>
<route id="ROUTE_SenderIN">
<from uri="cxf:bean:ISSUEINVENTORY_CXF?dataFormat=PAYLOAD" />
<setHeader headerName="TXN_ID">
<simple>TXN_${date:now:yyyyMMdd}${bean:dateClass?method=currentTimeMillis}</simple>
</setHeader>
<setHeader headerName="SenderSystem">
<simple>{{sourceSystem}}</simple>
</setHeader>
<setHeader headerName="ReceiverSystem">
<simple>{{receiverSystem}}</simple>
</setHeader>
<setHeader headerName="interfaceID">
<simple>{{interfaceID}}</simple>
</setHeader>
<setHeader headerName="interfaceName">
<simple>{{interfaceName}}</simple>
</setHeader>
<setHeader headerName="archivalFilePath">
<simple>{{fuseArchivePath}}/{{FuseArchiveDirectoryName}}</simple>
</setHeader>
<setHeader headerName="fuseArchiveDirectoryName">
<simple>{{FuseArchiveDirectoryName}}</simple>
</setHeader>
<setHeader headerName="StatusFlag">
<constant>received</constant>
</setHeader>
<setHeader headerName="TimestampOfStatusPopulation">
<simple>${date:now:yyyyMMdd}${bean:dateClass?method=currentTimeMillis}</simple>
</setHeader>
<inOnly uri="AMQbrokerConnector:Q_DB_LOGGING_ARCHIVAL" />
<log message="Received Message and forwarded for logging and archival"
loggingLevel="INFO" logName="Archived -
{{interfaceID}}:{{interfaceName}}">
</log>
<log message="Dispatching Message from Receiver module to Processing
Module"
loggingLevel="INFO"
logName="DispatchNotice_{{interfaceID}}:{{interfaceName}}" />
<inOnly uri="AMQbrokerConnector:Q_{{interfaceID}}_{{interfaceName}}_INB"
/>
<to uri="bean:responseBuilder" />
</route>
<route id="ROUTE_Recovery">
<from uri="file:{{fuseArchivePath}}/{{FuseArchiveDirectoryName}}" />
<setHeader headerName="TXN_ID">
<simple>${header.CamelFileNameOnly}</simple>
</setHeader>
<to uri="log:{in.header}" />
<inOnly uri="AMQbrokerConnector:Q_{{interfaceID}}_{{interfaceName}}_INB"
/>
</route>
</camelContext>
<bean id="dateClass" class="java.lang.System" />
<bean id="responseBuilder"
class="com.outotec.javalogics.inventoryissuereturn.ResponseBuilder" />
</beans>*
And following is my POM file.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<groupId>com.poc</groupId>
<packaging>bundle</packaging>
<repositories>
<repository>
<id>fusesource</id>
<name>FuseSource Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>fusesource.ea</id>
<name>FuseSource Community Early Access Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/ea</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>fusesource</id>
<name>FuseSource Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>fusesource.ea</id>
<name>FuseSource Community Early Access Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/ea</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>2.7.13</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-spring</artifactId>
<version>2.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.7.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-osgi</artifactId>
<version>2.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jaxb</artifactId>
<version>2.11.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-osgi</artifactId>
<version>2.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jaxb</artifactId>
<version>2.11.1</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-camel</artifactId>
<version>5.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>2.10.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.4</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>javax.activation;version=1.1,
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
<version>2.10.0</version>
</plugin>
</plugins>
</build>
<artifactId>INTERFACEID-InterfaceName</artifactId>
<name>INTERFACEID-InterfaceName</name>
<description>INTERFACEID-InterfaceName</description>
</project>
I get following exception while starting my route with CXF. I guess my
project was executing fine till 2 days back. But today I have this issue.
*Error occurred while running main from: org.apache.camel.spring.Main
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:440)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.camel.RuntimeCamelException:
java.lang.RuntimeException: Soap 1.1 endpoint already registered on address
http://D-113063918:9191/mes/bw/MEStoBW_Material
at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)
at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:280)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)*
I am posting my camel route file for your reference
*<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:cxf="http://camel.apache.org/schema/cxf"
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xmlns:sec="http://cxf.apache.org/configuration/security"
xmlns:ctx="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd
http://cxf.apache.org/bindings/soap
http://cxf.apache.org/schemas/configuration/soap.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://cxf.apache.org/configuration/security
http://cxf.apache.org/schemas/configuration/security.xsd
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
">
<ctx:property-placeholder
location="file:D:/FactoryESB-PropertyFiles/ID_Name.properties,file:D:/FactoryESB-PropertyFiles/utility.properties"
/>
<cxf:cxfEndpoint id="ISSUEINVENTORY_CXF" address="${fuseEndpoint}"
serviceClass="outotec.pi.mes.id52.materialconsumptions.SIID52MaterialConsumptionAsyncOut"
wsdlURL="wsdl/SI_ID52_MaterialConsumption_async_outService.wsdl"
serviceName="ons:SI_ID52_MaterialConsumption_async_outService"
endpointName="ons:HTTP_Port"
xmlns:ons="urn:outotec:pi:mes:id52:MaterialConsumptions"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
</cxf:cxfEndpoint>
<bean id="jmsConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="${brokerURL}" />
<property name="userName" value="${brokerUserName}" />
<property name="password" value="${brokerPassword}" />
</bean>
<bean id="pooledConnectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory"
init-method="start" destroy-method="stop">
<property name="maxConnections" value="8" />
<property name="connectionFactory" ref="jmsConnectionFactory" />
<property name="idleTimeout" value="0" />
</bean>
<bean id="jmsConfig"
class="org.apache.camel.component.jms.JmsConfiguration">
<property name="connectionFactory" ref="pooledConnectionFactory" />
<property name="concurrentConsumers" value="10" />
</bean>
<bean id="AMQbrokerConnector"
class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="configuration" ref="jmsConfig" />
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder
location="file:D:/FactoryESB-PropertyFiles/ID_Name.properties,file:D:/FactoryESB-PropertyFiles/utility.properties"
id="placeholder" />
<onException useOriginalMessage="true">
<description>Exception Handler Startes</description>
<exception>java.lang.Exception</exception>
<handled>
<constant>true</constant>
</handled>
<setHeader headerName="CamelExceptionDetails ">
<simple>${exception}</simple>
</setHeader>
<to uri="AMQbrokerConnector:topic:T_EXCEPTIONSTRATEGY" />
<log message="${exception}" loggingLevel="WARN"
logName="Exception_{{interfaceID}}{{interfaceName}}" />
</onException>
<route id="ROUTE_SenderIN">
<from uri="cxf:bean:ISSUEINVENTORY_CXF?dataFormat=PAYLOAD" />
<setHeader headerName="TXN_ID">
<simple>TXN_${date:now:yyyyMMdd}${bean:dateClass?method=currentTimeMillis}</simple>
</setHeader>
<setHeader headerName="SenderSystem">
<simple>{{sourceSystem}}</simple>
</setHeader>
<setHeader headerName="ReceiverSystem">
<simple>{{receiverSystem}}</simple>
</setHeader>
<setHeader headerName="interfaceID">
<simple>{{interfaceID}}</simple>
</setHeader>
<setHeader headerName="interfaceName">
<simple>{{interfaceName}}</simple>
</setHeader>
<setHeader headerName="archivalFilePath">
<simple>{{fuseArchivePath}}/{{FuseArchiveDirectoryName}}</simple>
</setHeader>
<setHeader headerName="fuseArchiveDirectoryName">
<simple>{{FuseArchiveDirectoryName}}</simple>
</setHeader>
<setHeader headerName="StatusFlag">
<constant>received</constant>
</setHeader>
<setHeader headerName="TimestampOfStatusPopulation">
<simple>${date:now:yyyyMMdd}${bean:dateClass?method=currentTimeMillis}</simple>
</setHeader>
<inOnly uri="AMQbrokerConnector:Q_DB_LOGGING_ARCHIVAL" />
<log message="Received Message and forwarded for logging and archival"
loggingLevel="INFO" logName="Archived -
{{interfaceID}}:{{interfaceName}}">
</log>
<log message="Dispatching Message from Receiver module to Processing
Module"
loggingLevel="INFO"
logName="DispatchNotice_{{interfaceID}}:{{interfaceName}}" />
<inOnly uri="AMQbrokerConnector:Q_{{interfaceID}}_{{interfaceName}}_INB"
/>
<to uri="bean:responseBuilder" />
</route>
<route id="ROUTE_Recovery">
<from uri="file:{{fuseArchivePath}}/{{FuseArchiveDirectoryName}}" />
<setHeader headerName="TXN_ID">
<simple>${header.CamelFileNameOnly}</simple>
</setHeader>
<to uri="log:{in.header}" />
<inOnly uri="AMQbrokerConnector:Q_{{interfaceID}}_{{interfaceName}}_INB"
/>
</route>
</camelContext>
<bean id="dateClass" class="java.lang.System" />
<bean id="responseBuilder"
class="com.outotec.javalogics.inventoryissuereturn.ResponseBuilder" />
</beans>*
And following is my POM file.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0.0</version>
<groupId>com.poc</groupId>
<packaging>bundle</packaging>
<repositories>
<repository>
<id>fusesource</id>
<name>FuseSource Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>fusesource.ea</id>
<name>FuseSource Community Early Access Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/ea</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>fusesource</id>
<name>FuseSource Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>fusesource.ea</id>
<name>FuseSource Community Early Access Release Repository</name>
<url>http://repo.fusesource.com/nexus/content/groups/ea</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>2.7.13</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-spring</artifactId>
<version>2.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.7.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-osgi</artifactId>
<version>2.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jaxb</artifactId>
<version>2.11.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-osgi</artifactId>
<version>2.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jaxb</artifactId>
<version>2.11.1</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-camel</artifactId>
<version>5.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>2.10.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.4</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>javax.activation;version=1.1,
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
<version>2.10.0</version>
</plugin>
</plugins>
</build>
<artifactId>INTERFACEID-InterfaceName</artifactId>
<name>INTERFACEID-InterfaceName</name>
<description>INTERFACEID-InterfaceName</description>
</project>