Re: exception and exclusive queue

2009-03-25 Thread mffrench
; new > ActiveMQQueue("TEST.QUEUE?consumer.exclusive=true&consumer.exclusiveBackupCount=0 > "); > > A consumer that exceeds the backup count will get an exception. What do > you > think? > > An additional attribute trumps changing consumer.exclusive from bool

Re: exception and exclusive queue

2009-03-24 Thread mffrench
> > That is by design, the doc on exclusive consumers > <http://activemq.apache.org/exclusive-consumer.html> explains the rational > and the J2EE use case. > What is your use case? > > 2009/3/23 mffrench > >> >> Hello, >> >> There is no excep

Re: exception and exclusive queue

2009-03-24 Thread mffrench
do I need to raise a JIRA ? thanks ... mffrench wrote: > > Hello, > > There is no exception raised when I open a jms consumer on an exclusive > queue which is already locked by another consumer ? The second consumer > does not receive any messages but I would like to g

Re: Question about Active MQ network of brokers

2009-03-23 Thread mffrench
Thanks for your answer. Would like to know if there is a sense to raise a JIRA for this ? It could be a good way to simplify the configuration ... ++ bsnyder wrote: > > On Mon, Mar 23, 2009 at 10:13 AM, mffrench wrote: >> >> About the networkTTL is there a way to set it

Re: actual status of activeMQ and AMQP

2009-03-23 Thread mffrench
Hello, As you maybe know the future AMQP 1.0 release is out of the box soon (http://jira.amqp.org/confluence/display/AMQP/Advanced+Message+Queuing+Protocol)... And as you maybe notice too a famous IT enterprise work now on the AMQP specification : Microsoft. So it's now more only a redhat businne

exception and exclusive queue

2009-03-23 Thread mffrench
Hello, There is no exception raised when I open a jms consumer on an exclusive queue which is already locked by another consumer ? The second consumer does not receive any messages but I would like to get an exception to close it naturally... How is this possible ? Thanks -- View this messa

Re: Question about Active MQ network of brokers

2009-03-23 Thread mffrench
About the networkTTL is there a way to set it to infinite value ??? Thanks ... ++ bsnyder wrote: > > On Mon, Mar 9, 2009 at 9:40 AM, mffrench wrote: >> >> Hello, >> >> I would like to know if it's possible to configure ActiveMQ to route >> message

Re: New question about activemq network

2009-03-23 Thread mffrench
This thread comes from a misunderstanding. Please ignore it ;) ++ mffrench wrote: > > Hello, > > I do not understand why the routing is done on the GET and not directly on > the PUT. I do not see the interest to keep the message in the non final > destination broker. F

Re: Killing activemq with connected JMS listener

2009-03-19 Thread mffrench
ink this is not an heavy modification and I'm sure it will avoid many misunderstanding about ActiveMQ client behavior... ++ rajdavies wrote: > > Where are you suggesting an exception is thrown with no > ExceptionListener ? > On 19 Mar 2009, at 10:02, mffrench wrote: >

Re: Killing activemq with connected JMS listener

2009-03-19 Thread mffrench
at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:210) at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:202) at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185) ... 1 more Thanks for all... mffrench wrote: > > W

Re: Killing activemq with connected JMS listener

2009-03-19 Thread mffrench
/how-can-i-enable-detailed-logging.html> > > 2009/3/18 mffrench > >> >> yes my client is connected... and it only receive message (it's a jms >> listener). >> can you tell me what options I must set to enable the log level in the >> activem

Re: Killing activemq with connected JMS listener

2009-03-19 Thread mffrench
o not know how to achieve this kind of feature ... ++ rajdavies wrote: > > You've registered a JMS ExceptionListener with the Connection ? > > On 18 Mar 2009, at 18:06, mffrench wrote: > >> >> must add I tested the same code with other queuers (QPID, ...) and

Re: Killing activemq with connected JMS listener

2009-03-18 Thread mffrench
must add I tested the same code with other queuers (QPID, ...) and I get exception with these queuers ... mffrench wrote: > > yes my client is connected... and it only receive message (it's a jms > listener). > can you tell me what options I must set to enable the log level

Re: Killing activemq with connected JMS listener

2009-03-18 Thread mffrench
enable debug logging and see what additional information you can > gather? > > 2009/3/18 mffrench > >> >> Here's my JNDI configuration : >> >> java.naming.factory.initial = >> org.apache.activemq.jndi.ActiveMQInitialContextFactory >> java.namin

Re: ActiveMQ exception when using asynchronous communication

2009-03-18 Thread mffrench
UP mffrench wrote: > > Hello, > > some times I get an activemq exception (broker side) which appends > regularly when I do some stress tests (many producers / consumers on the > broker) and when I do some simple transactionnal tests. > > I've some difficulie

Re: New question about activemq network

2009-03-18 Thread mffrench
UP mffrench wrote: > > Hello, > > I do not understand why the routing is done on the GET and not directly on > the PUT. I do not see the interest to keep the message in the non final > destination broker. For me this kind of routing raise some questions like > : > &g

Re: Killing activemq with connected JMS listener

2009-03-18 Thread mffrench
et the exception you > require. > > 2009/3/18 mffrench > >> >> Hello, >> >> if I kill ActiveMQ, there is no exception raised to my connected JMS >> listener and so my client doesn't detect the link is broken with >> ActiveMQ. >

Killing activemq with connected JMS listener

2009-03-18 Thread mffrench
Hello, if I kill ActiveMQ, there is no exception raised to my connected JMS listener and so my client doesn't detect the link is broken with ActiveMQ. I think this is a bug which should be corrected. Is there any issue about this ? Thanks -- View this message in context: http://www.nabble.com/

ActiveMQ exception when using asynchronous communication

2009-03-17 Thread mffrench
Hello, some times I get an activemq exception (broker side) which appends regularly when I do some stress tests (many producers / consumers on the broker) and when I do some simple transactionnal tests. I've some difficulies to reproduce every time nor explain it but you could maybe help by exp

New question about activemq network

2009-03-17 Thread mffrench
Hello, I do not understand why the routing is done on the GET and not directly on the PUT. I do not see the interest to keep the message in the non final destination broker. For me this is a problem because that's mean if you have N nodes there will be N-1 get requests for exampke. But there is c

Re: Question about Active MQ network of brokers

2009-03-12 Thread mffrench
If I configure any network connector thanks AMQ API or JMX will this configuration be persistent ? ++ mffrench wrote: > > Is there any way to configure network connector through JMX ? > > > bsnyder wrote: >> >> On Tue, Mar 10, 2009 at 3:14 AM, mffrench wrote:

dead letter queue

2009-03-11 Thread mffrench
Hello, I would like to know if when I send a message on queue which does not exist in my ActiveMQ broker where are stored this messages ? Is there any dead letter queue in ActiveMQ ? How do I configure it ? Thanks -- View this message in context: http://www.nabble.com/dead-letter-queue-tp22459

Re: Question about Active MQ network of brokers

2009-03-11 Thread mffrench
Is there any way to configure network connector through JMX ? bsnyder wrote: > > On Tue, Mar 10, 2009 at 3:14 AM, mffrench wrote: >> >> Thank you for your answer. I'll try to make my topology thanks your >> advise. >> Anyway I've another question. Is

Re: Question about Active MQ network of brokers

2009-03-11 Thread mffrench
nodes there will be N-1 get requests. But there is certainly some explanations I do not see. ++ bsnyder wrote: > > On Mon, Mar 9, 2009 at 9:40 AM, mffrench wrote: > > Bear in mind that messages will not be broadcast around the network. > You may already know this but I've fo

Re: Question about Active MQ network of brokers

2009-03-10 Thread mffrench
t activemq). Do I make a mistake ? bsnyder wrote: > > On Mon, Mar 9, 2009 at 9:40 AM, mffrench wrote: >> >> Hello, >> >> I would like to know if it's possible to configure ActiveMQ to route >> messages from a broker A to a broker C through a broker B. I

Question about Active MQ network of brokers

2009-03-09 Thread mffrench
Hello, I would like to know if it's possible to configure ActiveMQ to route messages from a broker A to a broker C through a broker B. In fact I aim to achieve this kind of topology : client X (network 1) send Message to Broker C via Broker A -> broker A (network 1) send message to broker C via