Tomasz,

I think your problem is that you are using a Queue.  Instead, try using a Topic

When using a topic, all clients receive all messages published to the
Topic.  It will be up to the client to ignore messages which are not
meant for it.

- Jeff

On Thu, Nov 20, 2008 at 11:21 PM, Tomasz Prus <[EMAIL PROTECTED]> wrote:
> hi,
>
> can anyone help me and paste jms client (producer and consumer)
> example with pooling? I have problem with this:
>
> user1 sends request and waits for response
> user2 sends request and waits for response
>
> and sometimes user1 consumes messages that should be for user2 and vice versa
>
> Best regards,
> Tomasz Prus
>

Reply via email to