Re: how to run activemq source in myeclipse?

2013-07-10 Thread Argeric
i want to thanks ceposta . now i can run activemy source code in myeclipse,and debug it when my program run which used activemq. -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-run-activemq-source-in-myeclipse-tp4669017p4669071.html Sent from the ActiveMQ - User

Variable volume of messages across consumers

2013-07-10 Thread Praveen Bysani
Hi, I have the following setup in my project, 1. multiple producers (p1,p2,p3) in Hongkong region sending variable size non-persistent messages to a topic t1 on the broker (b1) in Phillippines region 2. p1,p2 and p3 send messages frequently (~1 second) 3. each message has a time to

Re: Variable volume of messages across consumers

2013-07-10 Thread Christian Posta
Your best bet would be to set logging to debug on the network bridge (DemandForwardingBridgeSupport) and possibly the RegionBroker to see what is happening. On Wednesday, July 10, 2013, Praveen Bysani wrote: Hi, I have the following setup in my project, 1. multiple producers (p1,p2,p3) in

Apollo as a bundle

2013-07-10 Thread Daniel Mazzer
Hi, I was playing around with MQTT in ActiveMQ and Apollo. I have some applications running on Apache Karaf and I want to use a message broker (publish/subscribe) to make this applications talk with each other. I have tested ActiveMQ (ServiceMix) and Apollo. I think Apollo much easier to put to

Re: Is it possible to use Client Certs for Authentication/Authorization for Apollo?

2013-07-10 Thread Garry Watkins
I have been looking at the documentation in the security section.http://activemq.apache.org/apollo/documentation/user-manual.html#SecurityI need to write code that will capture allow a queue to be created with the same name as the user. That user may then be allowed to receive and consume

Activemq 5.8 problem with Oracle jdbc adapter

2013-07-10 Thread pkorwar
I am using ActiveMQ 5.8 with Oracle as persistent store. I keep getting the following exception saying that it could not get the DB lock. Has anybody faced this issue? Does it have to do with configuration settings? I have pasted the exception below. Thanks Pramod 2013-07-09

Re: Activemq 5.8 problem with Oracle jdbc adapter

2013-07-10 Thread Gary Tully
maybe try and reproduce with trace level logging for the broker and post the results, some more context may help diagnose. On 10 July 2013 15:15, pkorwar pkor...@yahoo.com wrote: I am using ActiveMQ 5.8 with Oracle as persistent store. I keep getting the following exception saying that it

Re: Apollo as a bundle

2013-07-10 Thread Christian Posta
Apollo isn't currently OSGI enabled... https://issues.apache.org/jira/browse/APLO-299 Should be too hard, but nobody has had time to implement it. If you give it a go, let us know what you find. On Wed, Jul 10, 2013 at 9:37 AM, Daniel Mazzer dmaz...@linear.com.brwrote: Hi, I was playing

Re: Activemq 5.8 problem with Oracle jdbc adapter

2013-07-10 Thread pkorwar
Hi gtully, Somebody had posted a solution to this problem which sets the following configuration for jdbc adapter. Is this a good solution to prevent the DB lock issue? What does it actually do? jdbcPersistenceAdapter ... databaseLocker database-locker queryTimeout=-1 /

Re: Is it possible to use Client Certs for Authentication/Authorization for Apollo?

2013-07-10 Thread Christian Posta
You could take a look at this page: http://activemq.apache.org/apollo/documentation/extending-guide.html Then take a look at using a RouterListenerFactory for when destinations are created:

RES: Apollo as a bundle

2013-07-10 Thread Daniel Mazzer
Hi Christian, Thank you to pointing me that. I think I don't have the necessary knowledge background to do that, but I will try. If I succeed I let you know. Regards, Daniel Mazzer Product Development Engineer Hitachi Kokusai Linear - HKL Tel: +55 35 3473-3473 E-mail: dmaz...@linear.com.br

Re: RES: Apollo as a bundle

2013-07-10 Thread Jean-Baptiste Onofré
I will take a look on that ;) Regards JB On 07/10/2013 07:10 PM, Daniel Mazzer wrote: Hi Christian, Thank you to pointing me that. I think I don't have the necessary knowledge background to do that, but I will try. If I succeed I let you know. Regards, Daniel Mazzer Product Development

Re: Is it possible to use Client Certs for Authentication/Authorization for Apollo?

2013-07-10 Thread Hiram Chirino
An the user names are dynamic? You don't know them ahead of time? On Tue, Jul 9, 2013 at 4:14 PM, Garry Watkins cats...@icloud.com wrote: I have been looking at the documentation in the security section. http://activemq.apache.org/apollo/documentation/user-manual.html#Security I need to

Fwd: How to configure redeliveryPlugin of ActiveMQ using Spring

2013-07-10 Thread Charles Moulliard
Hi, Here is the java code to be used to configure redeliveryPlugin broker = new BrokerService(); broker.setSchedulerSupport(true); RedeliveryPlugin redeliveryPlugin = new RedeliveryPlugin(); RedeliveryPolicy brokerRedeliveryPolicy = new RedeliveryPolicy();

Re: How to configure redeliveryPlugin of ActiveMQ using Spring

2013-07-10 Thread Christian Posta
Charles, try this: plugins redeliveryPlugin sendToDlqIfMaxRetriesExceeded=true redeliveryPolicyMap redeliveryPolicyMap defaultEntry redeliveryPolicy maximumRedeliveries=4/ /defaultEntry /redeliveryPolicyMap /redeliveryPolicyMap /redeliveryPlugin

Re: Is it possible to use Client Certs for Authentication/Authorization for Apollo?

2013-07-10 Thread Garry Watkins
Yes, the users will be unknown at the time of connection. On Jul 10, 2013, at 3:00 PM, Hiram Chirino hi...@hiramchirino.com wrote: An the user names are dynamic? You don't know them ahead of time? On Tue, Jul 9, 2013 at 4:14 PM, Garry Watkins cats...@icloud.com wrote: I have been looking

Re:Messages are out of order accidentally

2013-07-10 Thread SuoNayi
Any comments? At 2013-07-08 17:53:34,SuoNayi suonayi2...@163.com wrote: Hi,We are using Master/slave topology with shared database and the version is 5.5.0. Unfortunately the problem that messages get out of order happens accidentally and it breaks down our application since we really