How to setup policy for client-side message acceptance?

2017-04-14 Thread Ilya
Hello, It is not clear, how to achieve message acceptance on client. Following OASIS AMQP1.0 docs, I assume that I have to setup sender-settle-mode - unsettled (0) receiver-settle-mode - second (1) in order to use accept/modify/reject methods, but it does not work as expected. Scenario 1. start

STOMP client

2012-12-13 Thread Ilya Zvyagin
Does AMQ as a project provide a STOMP-based client for a message broker (AMQ in particular), or I should use some 3d party STOMP connector for Java for this? I do have STOMP listener turned on on the AMQ broker server side. I need a small client to be able only to produce messages for the broker i

Re: STOMP client

2012-12-24 Thread Ilya Zvyagin
Well, the story has ended like this: There is NO actually simple and isolated Java client library based on STOMP. There are STOMP server-side connectors included in the builds of AMQ and some other MBs. But there is no a simple small client library for this. There is STOMPJ project on Goodle Code

Connect ApacheMQ with web application using JMS

2014-01-16 Thread Ilya Kazakevich
ges she got. * Fetch all messages from all consumers on background thread and store them in collection, so each request would get them. I like the first one, but I am not sure accessing one Session from different threads is good idea. What do you think? Ilya Kazakevich

RE: Connect ApacheMQ with web application using JMS

2014-01-16 Thread Ilya Kazakevich
s and 400 consumers (for 200 users)? Or should I get all messages in one thread and then pass them to user threads? Ilya.