Hi,
I am performing some tests, and noticed that when I create the route in xml
(with the subscriptionDurable=true parameter), the subscribers come online
after restart of activeMQ. When I use the fluent api the subscriber goes
offline.
This code goes offline when ActiveMQ restarts
public void c
I think that you must define the subscription as durable like that :
from(activemq:queue:example1?durableSubscriptionName=TopicReader1&subscriptionDurable=true").to("");
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*
blog : http://cmoullia
Hi Charles,
the behavior might be correct but not what I expected :-)
No really, is there a way to configure spring/camel to restart the topic
subscriber when the connection is refreshed? I would like to have messages
forwarded all the time, even after restarts of the ActiveMQ broker or
network p
Leen,
The behavior observed is correct because messages could not forwarded till
that a jms client (= camel jms endpoint) consume the messages from the
topic.
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*
blog : http://cmoulliar
Hi,
I have the following topic subscriber
public void configure() throws Exception {
ActiveMQConnectionFactory connectionFactory =
lookup(ActiveMQConnectionFactory.class);
JmsTransactionManager jmsTransactionManager =
lookup(JmsTransactionManager.class);
JmsEndpoint topic = (JmsEndpoint) endpoin