Re: ActiveMQ.Advisory.Connection messages includes username and password

2009-07-28 Thread Rob Davies
On 28 Jul 2009, at 22:56, > wrote: I've been working on setting up an ActiveMQ 5.2 broker and coding clients for it for the last few weeks, and now I need to be notified when somebody logs in. I was hoping I could use the topic ActiveMQ.Advisory.Connection for that, so I set up a consumer on

ActiveMQ.Advisory.Connection messages includes username and password

2009-07-28 Thread Mats.Henrikson
I've been working on setting up an ActiveMQ 5.2 broker and coding clients for it for the last few weeks, and now I need to be notified when somebody logs in. I was hoping I could use the topic ActiveMQ.Advisory.Connection for that, so I set up a consumer on it and tried logging in using another cli

javax.jms.InvalidClientIDException: No clientID specified for connection disconnect request

2009-07-28 Thread lord.breetai
Hi Recently I configure ActiveMQ with jboss-4.0.2, apparenly all works fine; however when try sent jms messages from activeMQ queue to message driven bean, saw in the log file the next warning 15:25:00,119 WARN [Service] Failed to remove connection ConnectionInfo {commandId = 1, responseRequir

Total Message Order of Queues (not topics) durring edge cases(crashes)

2009-07-28 Thread jerdavis
Hello all, If I configure activeMQ and JMS producer/consumer correctly, are there any cases where the total order of a queue is violated? I've seen this page: http://activemq.apache.org/total-ordering.html But I came across this post from 2005: http://www.devwebsphere.com/devwebsphere/2005/06/t

Re: NMS PrefetchSize=0

2009-07-28 Thread Rob Davies
Unfortunately this is a side affect of setting prefetch == 0 - it works by pulling, so currently only works with receive() On 28 Jul 2009, at 16:26, magellings wrote: Hello. When setting PrefetchSize on the Session to 0 I do not obtain any messages when using the Listener event on the Mes

Re: NMS PrefetchSize=0

2009-07-28 Thread Timothy Bish
On Tue, 2009-07-28 at 08:26 -0700, magellings wrote: > Hello. > > When setting PrefetchSize on the Session to 0 I do not obtain any messages > when using the Listener event on the MessageConsumer. > > If I call Receive on the MessageConsumer to initiate a pull request I can > obtain messages. Ca

NMS PrefetchSize=0

2009-07-28 Thread magellings
Hello. When setting PrefetchSize on the Session to 0 I do not obtain any messages when using the Listener event on the MessageConsumer. If I call Receive on the MessageConsumer to initiate a pull request I can obtain messages. Can this work with the Listener event too and maybe I'm missing some

Re: How to (automatically) activate Discarding DLQ Broker PLugin

2009-07-28 Thread Rob Davies
On 28 Jul 2009, at 14:56, moreno9000 wrote: Thank you Rob. With processExpired=false I don't need DLQ, but expired messages are really deleted from file system only when I "browse" QUEUE_01 with AMQ web console. Is it possible to eliminate expired messages from file system without web consol

Re: How to (automatically) activate Discarding DLQ Broker PLugin

2009-07-28 Thread moreno9000
Thank you Rob. With processExpired=false I don't need DLQ, but expired messages are really deleted from file system only when I "browse" QUEUE_01 with AMQ web console. Is it possible to eliminate expired messages from file system without web console interaction ? Moreno rajdavies wrote: >

Re: destinationURI parameter is not work(priority,exclusive)

2009-07-28 Thread tracyjoy
activemq 5.2 rajdavies wrote: > > Which version of activemq ? > On 28 Jul 2009, at 04:00, tracyjoy wrote: > >> >> hi,all: >> i write a class to test exclusive and priority,but all i set are not >> work,all messages i producted are shared by customers.this is my code: >> >> package com.test; >>

Re: How to (automatically) activate Discarding DLQ Broker PLugin

2009-07-28 Thread moreno9000
Thank you Rob. With processExpired=false I don't need DLQ, but expired messages are really deleted from file system only when I "browse" QUEUE_01 with AMQ web console. Is it possible to eliminate expired messages from file system without web console interaction ? Moreno rajdavies wrote: >

Re: How to (automatically) activate Discarding DLQ Broker PLugin

2009-07-28 Thread Rob Davies
On 28 Jul 2009, at 10:35, moreno9000 wrote: Hi all, I have a Producer that sends 250 messages to QUEUE_01. Messages expire after 30 seconds. AMQ 5.2 is configured to use Discarding DLQ Broker Plugin. After 30 seconds I expect messages to be sent to DLQueue and immediately discarded. This doe

How to (automatically) activate Discarding DLQ Broker PLugin

2009-07-28 Thread moreno9000
Hi all, I have a Producer that sends 250 messages to QUEUE_01. Messages expire after 30 seconds. AMQ 5.2 is configured to use Discarding DLQ Broker Plugin. After 30 seconds I expect messages to be sent to DLQueue and immediately discarded. This doesn't happen :-( More exactly, it happens only wh

Webinar this Thursday on trading performance and reliability for ActiveMQ

2009-07-28 Thread Rob Davies
You've got to register - but Hiram Chirino and myself will take a bit of a deep dive into some of ninja stuff in ActiveMQ If you're interested - here's the link: https://event.on24.com/eventRegistration/EventLobbyServlet?target=registration.jsp&eventid=154417&sessionid=1&key=E98BDE2DC3E34FAB6

Re: destinationURI parameter is not work(priority,exclusive)

2009-07-28 Thread Rob Davies
Which version of activemq ? On 28 Jul 2009, at 04:00, tracyjoy wrote: hi,all: i write a class to test exclusive and priority,but all i set are not work,all messages i producted are shared by customers.this is my code: package com.test; import javax.jms.Connection; import javax.jms.Connection

Re: NMS / ActveMQ questions regarding network of brokers and ByteMessages.

2009-07-28 Thread Michel Van Hoof
true, however some smaller files, we would like to send through the MQ for ensured delivery. The local MQ in the network of brokers could the be the single point of access to the net (url) instead of the client. Or would in the case of the blob, the client still require access to the url ? sem