There isnt really enough information here allowing to suggest
something. Perhaps try turning up some of the client logging
(http://qpid.apache.org/releases/qpid-jms-0.32.0/docs/index.html#logging)
to see if you can get a better idea whats happening.

That said, I dont really follow your described usage either. A
MessageConsumer can only have a single MessageListener, not 4, and you
specifically noted only having a single MessageConsumer. I'd mention
that the MessageProducer being on the same Session would be an illegal
threading usage if it is used outwith a MessageListener onMessage,
since setting a listener on a consumer dedicates the singled-threaded
Session to the listener thread once started.

On 24 May 2018 at 12:41, Abhishek Kumar
<[email protected]> wrote:
> Hi Team,
>
> We have created below object using "qpid-jms-client - 0.32.0" .
>
> 1. Single javax.jms.Connection
> 2. With the use of above Connection object created Single
> "javax.jms.Session"
> 3. With the use of above Session object created Single
> "javax.jms.MessageConsumer".
>      --> With the use of above MessageConsumer, create 4 MessageListener
> 4. With the use of above Session object created Single
> "javax.jms.MessageProducer"
>
>
> Connection URL - *failover:(amqps://XXXXXXXX.servicebus.windows.net
> <http://XXXXXXXX.servicebus.windows.net>)?failover.reconnectDelay=2000&failover.maxReconnectAttempts=-1&failover.warnAfterReconnectAttempts=10&failover.startupMaxReconnectAttempts=3&amqp.idleTimeout=30000&transport.connectTimeout=10&jms.prefetchPolicy.all=1000&jms.forceAsyncSend=true*
>
> BrokerName - Azure ServiceBus
>
> Everything was working fine when i deploy application. I tested
> application *after
> two days*, then we started facing issue. MessageListener stop listening
> message from queue, and producer stop sending message also. We have not
> received any error log also.
>
> We need to restart server for resolving this issue. This is very bad
> alternative.
>
> Could you please suggest your opinion to resolve this issue.
>
> Regards,
> Abhishek Kumar

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to