Re: PERL/STOMP: How to Request Response

2009-09-07 Thread nmittal
Dejan, Thanks for your reply. I have been trying that... I am trying with 2 stomp connections, one that subscribes to '/temp-queue/tq' and one that sends a message to /queue/Queue.Data with reply to as the above temp-queue. my client code is below.. my $stomp = Net::Stomp->new( { hostname => "192

issue with MDP and VirtualTopic Unit Test

2009-09-07 Thread Mick Knutson
I have the following unit test, that I can NOT get to operate as expected: Issue 1: When I send a message to a VirtualTopic that I did NOT subscribe to, I should NOT get 4 messages anyways. Issue 2. When I change the destination to the proper VirtualTopic, I thought I should only get one message,

Re: Another XA Transaction question

2009-09-07 Thread sbuster
phil, either you response didn't come through, or I just don't see it. Did you have a suggestion? sbuster wrote: > > I'm using ActiveMQ 5.2 with WebSphere 7.0 and Sun JavaDB 10.x. Pretty > standard requirement, I have a message that arrives on a Queue, gets > pulled off with Message

Re: Another XA Transaction question

2009-09-07 Thread Phil Pickett
- Original Message - From: sbuster To: users@activemq.apache.org Sent: Mon Sep 07 09:24:16 2009 Subject: Another XA Transaction question I'm using ActiveMQ 5.2 with WebSphere 7.0 and Sun JavaDB 10.x. Pretty standard requirement, I have a message that arrives on a Queue, gets pulled o

Re: need a listener?

2009-09-07 Thread Gary Tully
yea, I guess if you configure activemq in the "to" and some alternative camel component in the "from" of your route. 2009/9/4 praveen.sharma > > Could this Camel route be used as a proxy to ActiveMQ? > > > Gary Tully wrote: > > > > there is a camelContext

Re: PERL/STOMP: How to Request Response

2009-09-07 Thread Dejan Bosanac
Hi, use /temp-topic/ or /temp-queue/ prefixes (instead of /topic/ and /queue/) for destination names and ActiveMQ will create temporary destinations. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nig

Another XA Transaction question

2009-09-07 Thread sbuster
I'm using ActiveMQ 5.2 with WebSphere 7.0 and Sun JavaDB 10.x. Pretty standard requirement, I have a message that arrives on a Queue, gets pulled off with Message Drive Bean and needs to be directly insert into JavaDB. However, when I thrown an exception inside my MDB to test the rollback capabi

Re: How to send one message to a topic in MDB?

2009-09-07 Thread Mick Knutson
I might be able to help a little. Here is a blog I am working on that has a Message Driven POJO through Spring. http://www.baselogic.com/blog/java/testing-activemq-virtualtopics-using-camel-and-junit I have a unit test that starts an embedded AMQ broker, then starts a jms listener for the MDP:

Re: How to create destinations after the start of embedded broker

2009-09-07 Thread Mick Knutson
Interesting topic. I started a blog, which is not complete, but has most of the concepts for what you are looking for: http://www.baselogic.com/blog/java/testing-activemq-virtualtopics-using-camel-and-junit I have been working with the Camel and AMQ team on this, and I am close to have a fully tes

How to create destinations after the start of embedded broker

2009-09-07 Thread niko_dim
Hi, I want to dynamically create destinations after startup of my embedded broker. I saw several examples how create ServiceBroker with configuration file but all configurations were done before start of the broker. Unfortunately this does not fit to the requirements of my project. I do not wa

How to send one message to a topic in MDB?

2009-09-07 Thread Neo Wang
Environment: JBoss 5.1GA, Active MQ 5.2 embeded broker configuration I want to send a message to a topic when receiving one message in a MDB, but it can't be successful all the time, any one can help me? I have struggled in it about 2 weeks. It is my sample code: package com.trading.platform.ej