You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by francong2000 <fr...@shkf.com> on 2017/01/05 00:51:11 UTC

Cannot sync message that return back to JMS server when client does not acknowledge

I have set up JMS Cluster with ActiveMQ v5.14.3, set up network connector and
enable duplex as below.  Also, a JMS client (Client Acknowledgement) can
receive queue message from both JMS servers but not send acknowledgement for
the message.  When I terminate the client, the unacknowledged messages
return back to JMS server.  However, when I start client again, it only
receive JMS message from connected server and CANNOT receive message from
other JMS server.

it JMS server configuration problem or bug?

POC2 JMS activemq.xml
====================
 <networkConnector  name="LinkToBroker1"  duplex="true" networkTTL="3"
uri="static:(tcp://POC1:61616)">
                        <dynamicallyIncludedDestinations>
                         </dynamicallyIncludedDestinations>




--
View this message in context: http://activemq.2283324.n4.nabble.com/Cannot-sync-message-that-return-back-to-JMS-server-when-client-does-not-acknowledge-tp4720832.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Cannot sync message that return back to JMS server when client does not acknowledge

Posted by Tim Bain <tb...@alumni.duke.edu>.
See the Stuck Messages section of
http://activemq.apache.org/networks-of-brokers.html.

On Jan 4, 2017 7:53 PM, "francong2000" <fr...@shkf.com> wrote:

> I have set up JMS Cluster with ActiveMQ v5.14.3, set up network connector
> and
> enable duplex as below.  Also, a JMS client (Client Acknowledgement) can
> receive queue message from both JMS servers but not send acknowledgement
> for
> the message.  When I terminate the client, the unacknowledged messages
> return back to JMS server.  However, when I start client again, it only
> receive JMS message from connected server and CANNOT receive message from
> other JMS server.
>
> it JMS server configuration problem or bug?
>
> POC2 JMS activemq.xml
> ====================
>  <networkConnector  name="LinkToBroker1"  duplex="true" networkTTL="3"
> uri="static:(tcp://POC1:61616)">
>                         <dynamicallyIncludedDestinations>
>                          </dynamicallyIncludedDestinations>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Cannot-sync-message-that-return-back-to-
> JMS-server-when-client-does-not-acknowledge-tp4720832.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>