ZF-7943: Setting up multiple consumers(listeners) on an ActiveMq Broker using Zend_Queue falis

Issue Type: Bug Created: 2009-09-24T03:16:25.000+0000 Last Updated: 2012-11-20T20:53:18.000+0000 Status: Closed Fix version(s): Reporter: Dheeraj Saxena (kkarank) Assignee: None Tags: - Zend_Queue

Related issues: Attachments:


Here is the background

I am trying to setup a system that uses multiple listener clients each listening on a DIFFERENT queue using Zend_Queue. For each client, I use a different queue name as part of the driveroptions array - and then create a queue for each specifying the ActiveMq Adapater as input (I keep the port as 61613 for each). For some reason though, the ActiveMq broker only accepts one active client connection? I.e - if i try to set up two listener clients A and B that I created with Zend_Queue, then if I start A first and then B later, A gets shut down?

Here is the TRACE log from Active MQ. Here ClientA is the name of the First Client. I can see that the broker starts this client on 1863 but as soon as I start Client B, it resets the connection for ClientA and activates ClientB instead.

......................... DEBUG TransportConnection - Setting up new connection: / DEBUG AbstractRegion - Adding consumer: ID:ds-2104b9520f01-1807-1253786223359-4:0:-1:1 DEBUG AbstractRegion - Adding destination: topic://ActiveMQ.Advisory.Consumer.Queue.ClientA DEBUG Transport - Transport failed: Connection reset Connection reset at at org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill( at at at org.apache.activemq.transport.stomp.StompWireFormat.readLine( at org.apache.activemq.transport.stomp.StompWireFormat.unmarshal( at org.apache.activemq.transport.tcp.TcpTransport.readCommand( at org.apache.activemq.transport.tcp.TcpTransport.doRun( at at DEBUG TransportConnection - Stopping connection: / DEBUG TcpTransport - Stopping transport tcp:/// DEBUG TransportConnection - Stopped transport: / DEBUG TransportConnection - Cleaning up connection resources: / DEBUG AbstractRegion - Removing consumer: ID:ds-2104b9520f01-1807-1253786223359-4:0:-1:1 DEBUG AMQMessageStore - flush starting .................................................. STOMP uses a clientId parameter to distinguish between multiple clients - is there a way to specify that when creating a queue on ActiveMq with Zend_Queue?



Posted by Rob Allen (rob) on 2012-11-20T20:53:18.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.