Re: Rest Management API

2012-12-28 Thread Christian Posta
Looks awesome Dejan nice work! Will be very useful. On Friday, December 28, 2012, Dejan Bosanac wrote: > Hi all, > > I updated a bit a documentation around REST API and web examples to > reflect changes that will come in 5.8. Incidentally, I documented the > new REST broker management API > > > h

Detecting if a message was routed between multiple brokers in an interceptor

2012-12-28 Thread BocaJim
Hello all, I have an interceptor that is monitoring the onSend() method, and I would like to know if the message is going to be delivered to a queue "locally" or if the message is going to be routed to another broker to be delivered to the client. In our network, it looks like this: (C=client, B=

Rest Management API

2012-12-28 Thread Dejan Bosanac
Hi all, I updated a bit a documentation around REST API and web examples to reflect changes that will come in 5.8. Incidentally, I documented the new REST broker management API https://cwiki.apache.org/confluence/display/ACTIVEMQ/REST#REST-RestManagement which I think can be interesting to folks

Re: How to setup multiple queues

2012-12-28 Thread Claus Ibsen
Hi You can use the JMS API to create queue(s) http://docs.oracle.com/javaee/6/api/javax/jms/package-summary.html There is createQueue method on JMS Session object. On Thu, Dec 27, 2012 at 12:21 PM, jainmanglesh wrote: > Hi, > you can define more than one queue in config file however can you cre

Re: How to setup multiple queues

2012-12-28 Thread jainmanglesh
Hi, you can define more than one queue in config file however can you create more than one queue in program dynamically. I want to create a list of (list of 10 or any other number which I would come to know dynamically in program) activemq queue. can I do something like this : List queue -- Vie

ActiveMQ Slave - Failed to start network bridge

2012-12-28 Thread annubiss100
Firstly, sorry about my bad English :) I would like some help to fix an exception that I'm getting when an ActiveMQ Slave tries to become the Master. I've two servers (example): First one: *10.255.2.25* (started as Master) Second one: *10.255.2.26* (started as Slave) My activeMQ is using the st

ActiveMQ Slave - Failed to start network bridge

2012-12-28 Thread annubiss100
Firstly, sorry about my bad English :) I would like some help to fix an exception that I'm getting when an ActiveMQ Slave tries to become the Master. I've two servers (example): First one: 10.255.2.25 (started as Master) Second one: 10.255.2.26 (started as Slave) My activeMQ is using the storag

Re: Duplicate acknowledge when using XA transactions

2012-12-28 Thread damjankumar
I found out why the msg ack with transactionId=null was sent after the XA transaction finished processing the same message. When the MessageConsumer is closed, the method ActiveMQMessageConsumer.deliverAcks() is called. There is a check if a session's ack mode is auto acknowledge, if the isAutoAck

Re: Problem with Ajax API

2012-12-28 Thread Dejan Bosanac
Hi, it seems like you're experiencing "same origin policy" restriction (https://developer.mozilla.org/en-US/docs/JavaScript/Same_origin_policy_for_JavaScript). You need to connect to the broker on the same domain in which your js code is hosted. Regards -- Dejan Bosanac -- Re