camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alistair Young <>
Subject Disappearing topics in routes
Date Thu, 23 Jun 2011 11:00:24 GMT
If I declare a route:

<from uri="activemq:topic:src"/>
<to uri="activemq:topic:dest"/> 

when I restart tomcat, the activemq:topic:src is still there as it has persistent messages
but the activemq:topic:dest topic disappears along with all messages waiting for durable subscribers
in it.

Camel takes all the messages from dest and puts them in src, and they are all then lost as
src is destroyed on restart. Somehow the messages are not marked as persistent in the dest

I've tried transacted routing but it still doesn't work. I'm using ruby clients over STOMP
to send and receive persistent messages via the route:

  <broker brokerName="matrixBroker" id="matrixBrokerID" useJmx="true" persistent="true"
      <transportConnector uri="tcp://localhost:61616" />
      <transportConnector name="stomp" uri="stomp://localhost:61613"/>

	<bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
		<property name="brokerURL" value="vm://matrixBroker?create=false"/>

	<bean id="jmsTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">
		<property name="connectionFactory" ref="jmsConnectionFactory"/>

	<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
		<property name="connectionFactory" ref="jmsConnectionFactory"/>
		<property name="transacted" value="true"/>
		<property name="transactionManager" ref="jmsTransactionManager"/>

can anyone help please?



mov eax,1
mov ebx,0
int 80h

View raw message