Please ask this question on the Camel user list. This is the ActiveMQ dev list.
On Thu, Feb 20, 2014 at 4:22 AM, shanmugam <[email protected]> wrote: > Hello All > > > iam using concurrent consumer count is 5 > > <bean id="jmsConnectionFactory" > class="org.apache.activemq.ActiveMQConnectionFactory"> > <property name="brokerURL" value="${activemq.broker.url}"/> > </bean> > <bean id="pooledConnectionFactory" > class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start" > destroy-method="stop"> > <property name="maxConnections" > value="${activemq.max.pooled.connections}" > /> > <property name="maximumActiveSessionPerConnection" > value="${activemq.max.active.sessions}" /> > <property name="connectionFactory" ref="jmsConnectionFactory" /> > </bean> > > <bean id="jmsConfig" > class="org.apache.camel.component.jms.JmsConfiguration"> > <property name="connectionFactory" ref="pooledConnectionFactory" /> > <property name="transacted" value="false" /> > </bean> > > <camelContext id="camelContext" trace="true" > xmlns="http://camel.apache.org/schema/spring"> > <endpoint id="queue" uri="jms:queue:${queue.metadata}"/> > </camelContext> > > i am publish the message order following > message1 > message2 > message3 > > but receive sometimes > Message3 > Message1 > Message2 > > Here order will changed > > how to set sequence number in publish & consumer side > > Thanks > > > > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Camel-Message-Publish-and-Consume-sequence-order-tp4678190.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta
