Here is my camel-context.xml file <?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:context="http://www.springframework.org/schema/context" xmlns:camel="http://camel.apache.org/schema/spring" xsi:schemaLocation=" http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="wmqRoute" class="com.broadridge.adapters.fixadapter.router.WMQRouter"> <property name="incomingQueue" value="${INPUTQUEUE}" /> <property name="outgoingQueue" value="${OUTPUTQUEUE}" /> <property name="ackQueue" value="${ACKQUEUE}" /> <property name="backupFolder" value="${BACKUPFOLDER}" /> <property name="concurrentConsumers" value="${CONCURRENTCONSUMERS}" /> </bean> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="location" value="classpath:config.properties"> </property> </bean> <camelContext xmlns="http://camel.apache.org/schema/spring"> <routeBuilder ref="wmqRoute" /> </camelContext> <bean id="websphere" class="org.apache.camel.component.jms.JmsComponent"> <property name="configuration" ref="websphereConfig" /> </bean> <bean id="websphereConnectionFactory" class="com.ibm.mq.jms.MQConnectionFactory"> <property name="transportType" value="${TRANSPORT_TYPE}" /> <property name="hostName" value="${HOSTNAME}" /> <property name="port" value="${PORT}" /> <property name="queueManager" value="${QUEUEMANAGER}" /> <property name="channel" value="${CHANNEL}" /> </bean> <bean id="websphereConfig" class="org.apache.camel.component.jms.JmsConfiguration"> <property name="connectionFactory" ref="websphereConnectionFactory" /> </bean> </beans> -- View this message in context: http://camel.465427.n5.nabble.com/Concurrent-Consumers-creating-duplicates-tp5764158p5764201.html Sent from the Camel - Users mailing list archive at Nabble.com.