[jboss-user] [JBoss Messaging] - JBoss Messaging replicated queue issue
sachin.garg
do-not-reply at jboss.com
Thu Feb 16 05:18:18 EST 2012
sachin.garg [https://community.jboss.org/people/sachin.garg] created the discussion
"JBoss Messaging replicated queue issue"
To view the discussion, visit: https://community.jboss.org/message/717068#717068
--------------------------------------------------------------
Hi,
I am using JBOSS messaging in the following way:
1) Two JBOSS instances using 'all' config
2) One replicated queue created on each JBOSS instance (clustered = true)
3) one producer attach locally to the queue on each instance (i.e. both the producer on both the nodes keep on adding messages to this replicated queue)
4) One JBOSS instance is marked as "consumer node" and queue message consumer is started on only this node (i.e. messages will be consumed on only one node). There is a logic which will decide which JBOSS instance is marked as "consumer node"
5) PostOffice used is clustered
6) server peer configured to not enforce message sequencing.
7) produced messages are non-persistent (deliveryMode = NON_PERSISTENT)
But I am facing problem with this. Messages produced on "non consumer node" do not get replicated to the queue on the "consumer node" and hence not available for consumption.
I enabled the logging and checked that postoffice finds two queues but only delivers to the local queue as it discovers that the remote queue is recoverable.
Any idea how to set it working?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717068#717068]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120216/8dec6e8b/attachment-0001.html
More information about the jboss-user
mailing list