Greetings Tim.

thanks for your assistance. 

here's  my *publisher *code. it works fine with "publish2EmbeddedBroker =
false" and fails with "publish2EmbeddedBroker = true"



here's my *consumer *code. both poll and async modes work ok when there are
messages to be received.


i'm using activemq v5.12 right "out of the box" with no modifications to
*activemq.xml * and running it with ".\bin\activemq start" from a dos
command window:



Here's the process I use, from eclipse:
1. run the SubscriberTopicTest: it establishes a durable subscription, then
it shuts down
2. run the PublishTopicTest: if publishes messages, then it shuts down
3. run the SubscriberTopicTest: it establishes a durable subscription, reads
the messages, then it shuts down

i also monitor the central message router using the admin console at
http://localhost:8161/admin/. here's what i see using it:

1. during the subscription process, i see "NC:subscriberBroker:outbound
tcp://127.0.0.1:52591   true    false" on the connections page, which goes away
after the subscription process shuts down.

2. during the publication process, i see "NC:publisherBroker:outbound
tcp://127.0.0.1:52593   true    false" on the connections page
(publish2EmbeddedBroker == true), which goes away after the publication
process shuts down.

3. it ends with "TopicTest" on the topics page and an offline durable
subscription on the subcriver's page (but no messages enqueued with
"publish2EmbeddedBroker = true"). all other combinations enqueue and dequeue
ok.





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Persistent-messages-not-moving-from-embedded-broker-to-remote-broker-tp4702884p4702896.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to