k you for the clarification.
> >>
> >> Regards,
> >> Riyafa
> >>
> >> On Thu, 21 Feb 2019 at 21:42, michael.andre.pearce
> >> wrote:
> >>
> >>> You could use a countdown latch that then when you wish to shutdown you
> >>&
ou wish to shutdown you
simply from another thread countdown.Sent from my Samsung Galaxy
smartphone.
Original message From: Riyafa Abdul Hameed <
riy...@apache.org> Date: 21/02/2019 14:06 (GMT+00:00) To:
users@activemq.apache.org Subject: JMS Asynchronous Receiver
Riyafa Abdul Hameed <
> > riy...@apache.org> Date: 21/02/2019 14:06 (GMT+00:00) To:
> > users@activemq.apache.org Subject: JMS Asynchronous Receiver for
> ActiveMQ
> > Artemis Hi,I have the following asynchronous receiver for ActiveMQ
> Artemis:
> > https://gist
tphone.
> Original message From: Riyafa Abdul Hameed <
> riy...@apache.org> Date: 21/02/2019 14:06 (GMT+00:00) To:
> users@activemq.apache.org Subject: JMS Asynchronous Receiver for ActiveMQ
> Artemis Hi,I have the following asynchronous receiver for ActiveMQ Artemis:
&
Asynchronous Receiver for ActiveMQ Artemis Hi,I have the following asynchronous
receiver for ActiveMQ
Artemis:https://gist.github.com/riyafa/7b0e5814286c60edb157f9a83fb64765Here
what I would expect when I call queueConn.start(); is that I want thethread to
wait to receive messages. I mean I don
I've never seen or heard of javax.jms.Connection.start() blocking in that
respect, and the JMS specification doesn't describe the behavior you
expect. I think such behavior would be problematic in many use-cases (e.g.
when you don't want to block). The whole point behind using a
MessageListener is
Hi,
I have the following asynchronous receiver for ActiveMQ Artemis:
https://gist.github.com/riyafa/7b0e5814286c60edb157f9a83fb64765
Here what I would expect when I call queueConn.start(); is that I want the
thread to wait to receive messages. I mean I don't want the main to exit
causing the pro