activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlittman <jlitt...@google.com>
Subject Missing message after restart
Date Thu, 13 Jul 2006 01:43:24 GMT

I have two peer java applications that are communicating using activemq 4.01.
The applications are running on different machines. Each has an embedded
broker. The following sequence trips me up, I'd appreciate any help anyone
can give me. Also, if anyone has any additional tips on debugging these
types of problems, that would be very helpful as well. Are people
successfully using hermes for this type of work?

1) Start A1 application on machine A
2) Start B1 application on machine B
3) Send message from B1 to A1.
4) A1 receives message and replies to B1. B1 gets the reply. All is well.
5) Restart application B1. Same queue name is used for receiving messages.
6) Send message from B1 to A1.
7) A1 receives message and replies to B1. B1 does NOT get the reply. 
8) JMX console on B also does not register a message to the queue. 
9) Restart A1 and B1 and all is well.

Here are the definitions I am using for my (spring configured) activemq
objects:


A1.messaging.server.url=vm://localhost
A1.broker.network.transport.tcp=tcp://localhost:61616
A1.broker.network.transport.stomp=stomp://localhost:61617
B1.messaging.server.url=vm://localhost
B1.broker.network.transport.tcp=tcp://localhost:61616
B1.broker.network.transport.stomp=stomp://localhost:61617

A1.broker.jmx=true
B1.broker.jmx=true
A1.broker.network.connectors=static:failover:(tcp://172.29.198.61:61616)
B1.broker.network.connectors=static:failover:(tcp://172.29.198.80:61616)


-- 
View this message in context: http://www.nabble.com/Missing-message-after-restart-tf1934586.html#a5300694
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message