acknowledgement of message sent by producer

2008-06-09 Thread cauchy
Hi! How can I get acknowledgement of a certain message from MQ after I send it in my producer ? Appreciation for any help. -- View this message in context: http://www.nabble.com/acknowledgement-of-message-sent-by-producer-tp17748959p17748959.html Sent from the ActiveMQ - User mailing list archiv

Re: Networking help, not working for me....

2008-06-09 Thread Rob Davies
Hi Jason, this will work on ActiveMQ 5.x - I suggest you upgrade cheers, Rob On 10 Jun 2008, at 03:58, pleaseHelpMe:o) <[EMAIL PROTECTED]> wrote: I tried this but no luck, is it the way my client connects to broker1, then if broker1 dies, the client disconnects? uri="static://(tcp://

Re: Networking help, not working for me....

2008-06-09 Thread pleaseHelpMe:o)
I tried this but no luck, is it the way my client connects to broker1, then if broker1 dies, the client disconnects? Should this mean that if broker1 dies, broker2 takes over, so if the client is connected to broker1, he auto connects over to broker2, thus the client stays connected? I have b

Re: ActiveMQ intro

2008-06-09 Thread Joshua Smith
Also I would recommend Java Messaging by Eric Bruno. It's the book that I have been using to come up to speed with JMS in general and I'm using ActiveMQ. I only had to fix a few imports for the examples in his book to use them with ActiveMQ since it's an Apache project now. The book covers more th

Identifying subscriber and publisher with their IP address

2008-06-09 Thread co
Is there an object I can call or a class to override that would alert me when a subscriber or a publisher is registered with an ActiveMQ broker and for me to query profile that client such as its IP address, the host information, connection duration and time, etc? Thanks. -- View this message

Re: Networking help, not working for me....

2008-06-09 Thread pleaseHelpMe:o)
What is the syntax for that option to configure? JB navneek wrote: > > Hi, > > It seems you missed to configure DynamicallyIncludedDestination attribute > in your network connector configuration. > Add this attribute and try again. > > regds > Nava. > > pleaseHelpMe:o) wrote: >> >> Here is

Re: Networking help, not working for me....

2008-06-09 Thread navneek
Hi, It seems you missed to configure DynamicallyIncludedDestination attribute in your network connector configuration. Add this attribute and try again. regds Nava. pleaseHelpMe:o) wrote: > > Here is the setup: > ActiveMQ 4.0.2 (I know it's old, but need to try to get it working before > upgra

javax.jms.JMSException: java.io.IOException: Cannot get a connection, pool exhausted

2008-06-09 Thread activemqnewbie
Am getting below exception. Aoppreciate if anyone could help. Thanks, ERROR><2008/06/05 13:52:52.754><24561483><> javax.jms.JMSException: java.io.IOException: Cannot get a connection, pool exhausted at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49) at org.apac

Re: ActiveMQ intro

2008-06-09 Thread Mark Webb
There are examples in the binary download. On Mon, Jun 9, 2008 at 1:58 AM, rachke1 <[EMAIL PROTECTED]> wrote: > > Hi: > > New to JMS. > I have an application that will need a Messaging Middleware application, in > the meanwhile I am just using a servlet which is very simple. > I understand and hav

Getting IllegalAgrEception while Sending BlobMessage

2008-06-09 Thread susuguna
Hi , I am trying a simple producer consumer application for BlobMessage it works fine for files of size 8 kb if I send file of size more than 8 MB it throws an exception in the activemq console ERROR log- EXCEPTION java.lang.IllegalArgumentException at java.

Re: Closing a consumer create more messages than sent

2008-06-09 Thread kloh
Hi Marco, i replied to your email, didn't you get it? Marco Buss wrote: > > I think ActiveMQ shows the right behavior. The broker needs an ack for the > receving of the message. The ack is not send to the server and so he sends > the message twice because he thinks the message is not processed

Re: Closing a consumer create more messages than sent

2008-06-09 Thread Marco Buss
kloh wrote: > > Marco, > > thanks for having time for looking at it! > > > >> The problem in your code is the closing and creating of a new consumer. >> If you close the old one, he had not enough time to send the ack for the >> last message. So the broker thinks the Message is lost or the