Re: Durable subscribers (for topic) and Network of brokers

2014-06-04 Thread Paddy Carman
christian.po...@gmail.com wrote: Does C connect (or did it connect previously) to A to establish that durable subscription on A? Or is that durable sub staying around somehow on A? On Mon, Jun 2, 2014 at 3:43 PM, Paddy Carman paddy.car...@gmail.com wrote: Seeking the experts help here. I have

Re: Concurrent connections with same clientid to networks of brokers

2014-06-04 Thread Paddy Carman
Done: https://issues.apache.org/jira/browse/AMQ-5210 On Wed, Jun 4, 2014 at 5:54 AM, surfnerd surfn...@outlook.com wrote: That would really useful feature for NB. Can you create JIRA for the same ? -- View this message in context:

Concurrent connections with same clientid to networks of brokers

2014-06-03 Thread Paddy Carman
Hi All, I have two brokers A and B connected to each other as networks of brokers setup. I connect a client with clientid C1 to broker A. Case1: When I connect another client with same client id (C1) to broker A, it fails with exception (already connected), which is the expected behavior.

Virtual Destinations and MQTT durable subscribers

2014-06-03 Thread Paddy Carman
Virtual Destinations enable mapping topics to queues to solve issues in an ActiveMQ cluster ( http://activemq.apache.org/how-do-i-use-durable-subscribers-in-a-network-of-brokers.html ). Question is, what if all my subscribers are MQTT subscribers? MQTT does not have the concept of queues. How can

Durable subscribers (for topic) and Network of brokers

2014-06-02 Thread Paddy Carman
Seeking the experts help here. I have 2 brokers - A and B - connected as networks of brokers configuration using network connectors. P A -B-C There is one publisher P connected to A that published to topic /topic/foo/bar. I also have a durable subscriber C for the

Re: Durable subscribers (for topic) and Network of brokers

2014-06-02 Thread Paddy Carman
Forgot to mention that consumer C uses the same client-id when connecting to broker B and A. On Mon, Jun 2, 2014 at 3:43 PM, Paddy Carman paddy.car...@gmail.com wrote: Seeking the experts help here. I have 2 brokers - A and B - connected as networks of brokers configuration using network

STOMP/Websockets and CORS

2013-08-02 Thread Paddy Carman
Hi - I'm trying to connect to a broker that is in a different domain than where my web app is originating from. Following is what I read from the ActiveMQ documentation: One thing worth noting is that web sockets (just as Ajax) implements the*same origin policy*, so you can access only brokers

Re: How does JMS/STOMP queue map to MQTT

2013-05-24 Thread Paddy Carman
Yes. Is there a workaround? On Thu, May 23, 2013 at 5:35 AM, Christian Posta christian.po...@gmail.comwrote: MQTT protocol in activemq will only deal with topics, no queues. Were you hoping to have an mqtt client subscribe to a queue? On Wed, May 22, 2013 at 4:38 PM, Paddy Carman paddy.car

How does JMS/STOMP queue map to MQTT

2013-05-22 Thread Paddy Carman
Hi I have been using STOMP to connect to ActiveMQ from my non-mobile clients. I have been using topics as well as queues. I am thinking of using MQTT to connect to the broker from Android. One question I have is how JMS queues are converted in MQTT (since MQTT does not support queues). Any

Re: Java, Stomp, Web Sockets

2013-05-22 Thread Paddy Carman
Hi Christian, What are your thoughts on using StompJms Vs. MQTT on Android to connect to ActiveMQ? -PC On Tue, May 21, 2013 at 2:25 PM, Christian Posta christian.po...@gmail.comwrote: Interesting, I haven't come across trying to do websockets from Java. I'm guessing your messaging

Embedded brokers Vs. Standalone brokers

2012-08-22 Thread Paddy Carman
Hi - I'm trying to figure out the architecture for a large scale system that I'm building that consists of hosting a number of services that would use a pub/sub pattern. Could some please let me know the pros and cons of using embedded broker Vs. standalone brokers especially in terms of

Share ActiveMQ user authentication with HTTP Server

2012-08-17 Thread Paddy Carman
Hi - I would like to connect to the ActiveMQ broker from my HTTP session in my web application (PHP/Apache). Moreover, I want to reuse the HTTP session credentials to connect into the ActiveMQ broker. I believe there is something similar in http://activemq.apache.org/resource-adapter.html.

Re: Apollo STOMP websockets authentication failure

2012-08-15 Thread Paddy Carman
=admin|guest'. Could you give us more details on what version and config your using? On Tue, Aug 14, 2012 at 5:29 PM, Paddy Carman paddy.car...@gmail.com wrote: Hi - I added a new user/password called guest/guest123 in users.properties file. I'm able to login to the broker using a PHP

How to determine originator of message at the receiver?

2012-08-14 Thread Paddy Carman
Hi - Is it possible to determine (at the receiver), the client that originated the message that was sent to a queue or a topic? Would this require adding custom header fields? Has there been some work in this direction that someone can point me to? Basically I'm looking for something like a

Re: How to determine originator of message at the receiver?

2012-08-14 Thread Paddy Carman
http://twitter.com/fusenews On 14 August 2012 17:44, Paddy Carman paddy.car...@gmail.com wrote: Hi - Is it possible to determine (at the receiver), the client that originated the message that was sent to a queue or a topic? Would this require adding custom header fields? Has there been

Apollo STOMP websockets authentication failure

2012-08-14 Thread Paddy Carman
Hi - I added a new user/password called guest/guest123 in users.properties file. I'm able to login to the broker using a PHP client (with guest/guest123). But when I use a websocket client (using the chat example from https://github.com/jmesnil/stomp-websocket/tree/master/example/chat), it