Re: SSL authorisation using a client's subject DN for JNDI

2009-03-16 Thread huntc
I have now written a login module that extends AMQ's CertificateLoginModule (which I found along the way!). The login module fulfills my goal of using a directory service to authorise an authenticated SSL client. The project is under the Apache 2.0 licence and its project page and download can be

Multiple pairs of producers and consumers drags down speed?

2009-03-16 Thread Terry Tsai
I've developed a small routing application like camel. In one test scenario, I have a producer sending messages to Queue1. Then a consumer receives messages from Queue1 and directly pass them to Queue2. Then a consumer receives messages from Queue2 and pass them to Queue3, and so on. In the end,

Re: how to implement multiple message producers in activemq cpp

2009-03-16 Thread manua
I tried to copy paste the same code, but when I tried to run it, i get the following error, [r...@domu-12-31-39-03-00-d3 examples]# ./simple_producer = Starting the example: - No valid response

Is it possible to specify "send timeout" when using FailoverTransport?

2009-03-16 Thread WhiteSock
Hi all, When sending messages via FailoverTransport(ActiveMQ 5.2.0), the sender is blocked during the reconnection process. Is it possible to specify send timeout ? In ActiveMQ 4.0, there is a transport option timeout -1 Enables timeout on send operations (in miliseconds

Send message after transaction

2009-03-16 Thread langfors
I am using Spring 2.5 and annotations to define a @Transactional method. I want this transaction to complete before sending my JMS message as the JMS Listener relies on data from the transaction. Is there a way to ensure the end of the transaction before sending the JMS message? I am using Spri

Long recovery time for ActiveMQ

2009-03-16 Thread naveenshankar
Our ActiveMQ 5.1.0 server takes an inordinately long time to recover from a crash. I mean a couple of hours is not unusual in our case. We do use "topics". I am providing the log messages from ActiveMQ and would appreciate if someone can tell us what our options are to reduce the crash recovery ti

Re: how to implement multiple message producers in activemq cpp

2009-03-16 Thread Timothy Bish
On Mon, 2009-03-16 at 13:02 -0700, manua wrote: > I tried to implement multiple topics in activemq cpp. I modified the example, > simpleProducer.cpp to have multiple producers and then created multiple > destinations (multiple topics). With each producer,pointing to a different > topic, I am trying

how to implement multiple message producers in activemq cpp

2009-03-16 Thread manua
I tried to implement multiple topics in activemq cpp. I modified the example, simpleProducer.cpp to have multiple producers and then created multiple destinations (multiple topics). With each producer,pointing to a different topic, I am trying to send a diferent message.It compiles fine, but at ru

ActiveMQ Asynchronous way problem

2009-03-16 Thread anilreddy
hi all, I am using Spring+jms+ActiveMQ combination i am invoking MQ in asynchronous way.the problem is that when mailServer is running,my program is picking emails from the Queue.when mailServer is not running also it is picking from Queue.how to avoid this situvation when mailServer is not run

how can I really use more then 1 receiver on the same queue?

2009-03-16 Thread steve56
my environment: - AMQ 5.2.0 - java 1.6.0_12 the scenario: - few threads are waiting for long-time processing messages - each thread is using a separate connection and session - no transaction - session works on CLIENT_ACKNOWLEDGE mode case 1: - a lot of messages are present in que