No data/files created in folder data-master ??

2010-05-18 Thread cmoulliard
Hi, I have configured my Fuse 5.3.0 broker like this : beans xmlns=http://www.springframework.org/schema/beans; xmlns:amq=http://activemq.apache.org/schema/core; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.springframework.org/schema/beans

How to post message to a certain queue consumer?

2010-05-18 Thread alanchb
under the P2P mode,if i have sevaral queue consumers,how to make the producer post message to the consumer he wants? -- View this message in context: http://old.nabble.com/How-to-post-message-to-a-certain-queue-consumer--tp28592826p28592826.html Sent from the ActiveMQ - User mailing list

Re: Question about replication with master/slave

2010-05-18 Thread Gary Tully
with pure master slave, a message send to the master is relayed as a message send to the slave. If the slave does not have persistence enabled it will have the default memory message store so the message will be in memory. From a persistence perspective, both brokers are independent as the the

RE: How to post message to a certain queue consumer?

2010-05-18 Thread Cristian Botiza
Message selectors? From: alanchb [alanchbm...@gmail.com] Sent: 18 May 2010 11:12 To: users@activemq.apache.org Subject: How to post message to a certain queue consumer? under the P2P mode,if i have sevaral queue consumers,how to make the producer post

RE: How to post message to a certain queue consumer?

2010-05-18 Thread Cristian Botiza
In the producer code, when creating the Message object: message.setStringProperty(myFilterProperty, my consumerID); In the consumer (QueueReceiver or Message Driven Bean), define the message selector expression (SQL syntax) as myFilterPropert='my consumerID' ActiveMQ should dispatch only the

ActiveMQ 4.1.1 - Channel Inactive for too long

2010-05-18 Thread allgo
Hi fellow ActiveMQ and Smix users. This may not be an exclusive servicemix problem but may be an ActiveMQ one We are using Smix 3.2.1 - which uses Amq 4.1.1. We have a broker cluster of 2 machines say 192.200.200.1 and 192.200.200.2 and both have the same components deployed(mostly LWC). Nowe

Finding out when client is offlin

2010-05-18 Thread Markus Schaber
Hi, We currently have some clients connecting to an ActiveMQ-Server via STOMP. The clients actively keep the connection open, and reconnect when they recognize that the connection breaks. Now we have the request that we give alarm when a client is not seen by the server for a certain amount

Re: PHP, REST and ActiveMQ

2010-05-18 Thread Dejan Bosanac
Hi the correct url is: http://localhost:8161/demo/message/TEST4 as the REST API is configured under the demo application. Take a look at the demo app for more examples: http://localhost:8161/demo Also, if you're using PHP, it's generally a better option to use Stomp protocol

Re: ActiveMQ 4.1.1 - Channel Inactive for too long

2010-05-18 Thread allgo
Any help? allgo wrote: Hi fellow ActiveMQ and Smix users. This may not be an exclusive servicemix problem but may be an ActiveMQ one We are using Smix 3.2.1 - which uses Amq 4.1.1. We have a broker cluster of 2 machines say 192.200.200.1 and 192.200.200.2 and both have the same components

Re: Finding out when client is offlin

2010-05-18 Thread Dejan Bosanac
Hi Markus, the most natural way would be to use advisory messages ( http://activemq.apache.org/advisory-message.html), but this is not yet supported from Stomp (https://issues.apache.org/activemq/browse/AMQ-2098), so you'd need to use Java to process this kind of events. Cheers -- Dejan Bosanac

Re: PHP, REST and ActiveMQ

2010-05-18 Thread dblwizard
Dejan, I've tried that and seems that I get no response and nothing shows in the queue. One of my co-workers looked into the stomp piece but could not seem to get everything he needed to compile for the Stomp and ActiveMQ. That was why I was trying to get the REST piece to work. I've looked

Session hanging on commit

2010-05-18 Thread Colin Goodheart-Smithe
We have a system which uses a combination of a Queue and a Topic. We create a message on server1 and put this on a Queue. Server2 then listens on this queue (on a single consumer) and processes the messages in multiple threads each of which posts a resulting message to a Topic (multiple

RE: How to post message to a certain queue consumer?

2010-05-18 Thread Cristian Botiza
This is not AMQ specific; it's rather JMS API specific - the JavaDoc of interface javax.jms.Message. Did this approach work with P2P and multiple consumers? From: alanchb [alanchbm...@gmail.com] Sent: 18 May 2010 18:08 To: users@activemq.apache.org

Help with mutual authentication using ActiveMQ 5.3

2010-05-18 Thread mvtiru
Hi, I am trying to get mutual authentication working with ActiveMQ 5.3 and I am getting the below security exceptin when I try to bring up the activmq after trying to use JaasCertificateAuthenticationPlugin. snippet of ActiveMq.conf plugins

Re: Session hanging on commit

2010-05-18 Thread Gary Tully
best if you try and modify one of the existing junit tests to try and reproduce what you are seeing and raise a jira issue to track it. That will provided the best explanation and the fastest path to a resolution. On 18 May 2010 15:42, Colin Goodheart-Smithe colin.goodheartsmi...@detica.com

admin console does not show duplex connections

2010-05-18 Thread Jim Lloyd
I am using a network of brokers with a hub and spoke architecture. I expected to be able to look at http://myhub:8161/admin/connections.jsp and see the connections from the 'spokes'. And in fact, I believe I have seen these connections in the past. I recently changed my configuration so that the

RE: How to post message to a certain queue consumer?

2010-05-18 Thread alanchb
Yes,it works well. But I work with Visual C#,the method is a little different from yours. Can you give me some guide about TTL you mentioned in early reply? Cristian Botiza wrote: This is not AMQ specific; it's rather JMS API specific - the JavaDoc of interface javax.jms.Message. Did this

ActiveMQ and Jetty 7.0.2

2010-05-18 Thread go canal
Hi, Can I confirm that 5.3.2 does not support Jetty 7.0.2 ? I am using Ajax, and saw an error message: 2010-05-19 10:52:58.597:WARN::Error java.lang.NoClassDefFoundError: org/mortbay/util/ajax/ContinuationSupport It seems that ActiveMQ 5.3.2 rely on Jetty6 ? Is there a plan to support Jetty7

Message Loss in ActiveMQ Cluster

2010-05-18 Thread vv
I've created a cluster with 2 Brokers (e.g. A, B). The brokers A, B will receive messages from other brokers (e.g C,D which are not part of the cluster) thru' a Durable Topic. The messages sent by C, D should be independetly received by broker A, B. ie. A should receive copy of message sent by C