Does ActiveMQQueueBrowser let us access prefetched messages as well?

2017-08-07 Thread Venkatesh Laguduva
Given that pre-fetched messages are with a particular consumer; is it possible to browse prefetched messages using ActiveMQQueueBrowser? Thanks Venkatesh Laguduva -- View this message in context: http://activemq.2283324.n4.nabble.com/Does-ActiveMQQueueBrowser-let-us-access-prefetched-messages-

Re: Does ActiveMQQueueBrowser let us access prefetched messages as well?

2017-08-07 Thread Tim Bain
ActiveMQQueueBrowser returns only messages that are not pending, and I'm not aware of any other way to browse the pending ones. However, because the pending messages are still on the broker, it would be possible for you to write custom code that browses the pending messages, and if you do a good j

Re: Queue Consumers have pending messages but they are not getting processed

2017-08-07 Thread Tim Bain
That explanation sounds plausible. One possible alternative would be to use the PooledConnectionFactory instead. To clear out the unwanted consumers with your current code, you'd need to restart whatever process they're running in. But of course they will probably come back eventually. Tim On Au

Connecting jetty websocket client to artemis stomp over websocket connector

2017-08-07 Thread aragoubi
I am trying to connect a websocket client to artemis stomp over websocket acceptor. I am following this example https://www.eclipse.org/jetty/documentation/9.4.x/jetty-websocket-client-api.html . When client try

Re: Connecting jetty websocket client to artemis stomp over websocket connector

2017-08-07 Thread Justin Bertram
>From what I can tell your client isn't actually speaking a valid protocol with the server. Do you have a GitHub project with your client that I can take a look at? Artemis ships with a STOMP/websocket example. It's in /examples/protocols/stomp/stomp-websockets. I just ran it on 2.2.0 and it wo