activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: ClientConsumer doesn't receive the message
Date Thu, 30 Apr 2015 12:55:36 GMT
Have you stepped through it with a debugger?  Do you successfully run to
the end of the client code?

If so, try running against a non-embedded broker.  If you don't get
messages delivered there either but you've confirmed that you're really
executing the sendMessage() call, use the web console to see how many
consumers are connected and how many messages have been enqueued; if either
number is zero, that's a problem you'll need to investigate.

So I wrote all of that and then took a second look at the code, and I
realized that your client looks to me like it'll exit as soon as it sends
the message; are you sure that's not what's going on?

On Apr 29, 2015 10:04 AM, "sarge" <> wrote:

> Hi, I am in JMS and ActiveMQ. I want to create a ClientProducer who sends a
> message and ClientConsumer who receives the message asynchronously.
> ClientProducer sends a message, but ClientConsumer doesn't receive the
> message.
> I use ActiveMQServer as a broker
> <>
> And this is the client code
> <>
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message