Re: ActiveMQ Authentication

2012-08-24 Thread joesan
I modified the properties by generating new values but still no luck! admin.password=ENC(qcsJFdo+PVIz9FLW7HZX0u/fniJ21gpk) publish.password=ENC(VRd4U5n+KFpQARExI7XbicVgM//1GLYB) consume.password=ENC(GXQopJamSs6wPv/gHzs7oQsICAfkVDcV) In my activemq.xml, I also have this additional bean tag.

Re: ActiveMQ Authentication

2012-08-24 Thread Chris Pratt
I would try commenting out the original PropertyPlaceholderConfigurer, they might be clashing and from what I understand you can put all the non-encrypted values you want in your credentials-enc.properties file, they'll work just fine. The example I found seems to have a few more parameters for

Re: ActiveMQ Authentication

2012-08-24 Thread joesan
I will try that and let know the results here. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Authentication-tp4655478p4655525.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ message group and load-balancing?

2012-08-24 Thread rmn190
in http://activemq.apache.org/message-groups.html, there is a saying: Message Groups provide load balancing of the processing of messages across multiple consumers. Although I read the whole article, I have not understood the relation between message group and load-balancing. After all, there

Re: ActiveMQ message group and load-balancing?

2012-08-24 Thread Gaurav Sharma
Another way to look at it is in terms of the sticky-session analogy though don't be confused by the concept of the 'session'. The keyword of interest is 'sticky'. On Fri, Aug 24, 2012 at 1:31 AM, rmn190 rmn...@gmail.com wrote: in http://activemq.apache.org/message-groups.html, there is a

Re: ActiveMQ message group and load-balancing?

2012-08-24 Thread rmn190
thanks for reply. but the ‘sticky’ seems to have nothing with load-balance, right? On Fri, Aug 24, 2012 at 4:37 PM, Gaurav Sharma [via ActiveMQ] ml-node+s2283324n4655527...@n4.nabble.com wrote: Another way to look at it is in terms of the sticky-session analogy though don't be confused by

Re: ActiveMQ message group and load-balancing?

2012-08-24 Thread Gaurav Sharma
It does allow sharding/balancing if your domain allows for a way to specify the shard-key upfront (eg. partitioning by State codes, age-buckets, etc) and the improvement over selectors is that there's no need to worry about multiple consumers and concurrent selection across processes which will

ActiveMQ loadbalancing in Mule ESB

2012-08-24 Thread crazysoumya
I have an issue with ActiveMQ loadbalancing with Mule. I am using Mule 3.2.0 and ActiveMQ 5.5.1 I have a Mule FLow application which uses JMS inbound Endpoint to listen to queues in ActiveMQ. I have 2 instances of AMQ running each having a queue called MyQueue. Lets name them AMQ1 and AMQ2. I

Websocket maxIdleTime modification?

2012-08-24 Thread KL0uD
Hi, I'm sending this post because I have a doubt about the working procedure of WebSockets in ActiveMQ. Is there any way to change the maxIdleTime parameter value (default value in 300s) without change the source code. The last week, a similar question showed up in the ApacheMQ JIRA about the

Re: Websocket maxIdleTime modification?

2012-08-24 Thread Dejan Bosanac
Hi, unfortunately there isn't at the moment. Can you reopen AMQ-3980 so we can address this? Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype: dejan.bosanac | twitter: @dejanb blog: http://www.nighttale.net ActiveMQ in Action:

ActiveMQ-CPP question

2012-08-24 Thread spam trap
Hi, I am using ActiveMQ-CPP to consume messages asynchronously. In my onMessage() method can I refer to the cms::Message object directly? All the examples show this being casted to another type (eg. BytesMessage). Some messages may not have payloads so I am not sure what exact type to use for

Re: ActiveMQ-CPP question

2012-08-24 Thread Timothy Bish
On Fri, 2012-08-24 at 14:15 +0100, spam trap wrote: Hi, I am using ActiveMQ-CPP to consume messages asynchronously. In my onMessage() method can I refer to the cms::Message object directly? All the examples show this being casted to another type (eg. BytesMessage). Some messages may

Re: ActiveMQ Authentication

2012-08-24 Thread joesan
So here is the exception that I get after modifying my activemq.xml by removing the bean definition that was redundant: Loading message broker from: xbean:activemq.xml INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@c5495e: startup date [Fri Aug 24 15:42:55 CEST 2012]; root of

Re: ActiveMQ Authentication

2012-08-24 Thread Dejan Bosanac
You need to set ACTIVEMQ_ENCRYPTION_PASSWORD environment var. See the instructions at http://activemq.apache.org/encrypted-passwords.html Something like export ACTIVEMQ_ENCRYPTION_PASSWORD=activemq should do Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp.

Re: ActiveMQ Authentication

2012-08-24 Thread joesan
My publisher is trying to connect to the service with his credentials. User publish is not authorized to create: topic://ActiveMQ.Advisory.Connection I modified the entry as below. But still it woudn't allow?? * authorizationMap

Re: Certificate unknown error AFTER failover enabled

2012-08-24 Thread bryce
I'm sorry. I just realized Thread.setSslContext is wrong. I meant SslContext.setCurrentSslContext -- View this message in context: http://activemq.2283324.n4.nabble.com/Certificate-unknown-error-AFTER-failover-enabled-tp4655212p4655544.html Sent from the ActiveMQ - User mailing list archive

Error configuration durable topic subscription using spring listener

2012-08-24 Thread paul.dark
Hi,guys: I'm using activemq(now 5.6.0, early in 5.5.0) and spring 3.1,to configure a durable topic subscription(queue and non-durable topic I configured before both ok). I'm search both this forum both google, and try many solutions I can found, but no effect. when my tomcat complete, tomcat