Re: QueueSender question

2007-06-13 Thread Adrian Co
Create an anonymous sender by specifying a null destination in the createSender method and specify the actual destination in each send. Jim Alateras wrote: If I create a QueueSender QueueSender pub = session.createSender(new ActiveMQQueue("queue1")); I can't seem to use it to publish to anoth

QueueSender question

2007-06-13 Thread Jim Alateras
If I create a QueueSender QueueSender pub = session.createSender(new ActiveMQQueue("queue1")); I can't seem to use it to publish to another queue. pub.send(new ActiveMQQueue("queue2"), message); when this executes i get the following exception aused by: java.lang.UnsupportedOperationException

Re: Getting Stomp support to a usable state...

2007-06-13 Thread Tom Samplonius
- "PieterN" <[EMAIL PROTECTED]> wrote: > Patch: > --- > ../../../activemq-snapshot/src/activemq-core/src/main/java/org/apache/activemq/transport/stomp/ProtocolConverter.java > ... I've tried this patch, and it doesn't change anything. Stomp clients can still connect with any userna

Re: Problem with JMSXGroupFirstForConsumer

2007-06-13 Thread James Strachan
On 6/13/07, Dris <[EMAIL PROTECTED]> wrote: I am using message groups with 4.1.1 and NMS. I am finding that JMSXGroupFirstForConsumer is not being set reliably for the first message with a given groupId. I cannot as yet see any pattern in the failures. I have tried just setting the groupId to i.

Problem with JMSXGroupFirstForConsumer

2007-06-13 Thread Dris
I am using message groups with 4.1.1 and NMS. I am finding that JMSXGroupFirstForConsumer is not being set reliably for the first message with a given groupId. I cannot as yet see any pattern in the failures. I have tried just setting the groupId to i.ToString() in a loop for example and after get

Re: Disabling System.err logging

2007-06-13 Thread James Strachan
On 6/13/07, Elliotte Harold <[EMAIL PROTECTED]> wrote: On 6/13/07, James Strachan <[EMAIL PROTECTED]> wrote: > > On 6/13/07, Elliotte Harold <[EMAIL PROTECTED]> wrote: > > I'm starting a JMS application using test first development, as is my > habit. > > > 1. How do I turn this off (short of redi

Re: ActiveMQ NMS MSMQ Source

2007-06-13 Thread reza_rahman
No problems. Thanks again. James.Strachan wrote: > > On 6/13/07, reza_rahman <[EMAIL PROTECTED]> wrote: >> >> Thanks, that definitely helps. Are the binaries for NMS and the NMS MSMQ >> provider available at this point? > > Not yet, I'm afraid - we hope to create a binary release soon. > > -

Re: Disabling System.err logging

2007-06-13 Thread Elliotte Harold
On 6/13/07, James Strachan <[EMAIL PROTECTED]> wrote: On 6/13/07, Elliotte Harold <[EMAIL PROTECTED]> wrote: > I'm starting a JMS application using test first development, as is my habit. > 1. How do I turn this off (short of redirecting System.err to /dev/null, > which I can do if I have to)

Re: ActiveMQ NMS MSMQ Source

2007-06-13 Thread James Strachan
On 6/13/07, reza_rahman <[EMAIL PROTECTED]> wrote: Thanks, that definitely helps. Are the binaries for NMS and the NMS MSMQ provider available at this point? Not yet, I'm afraid - we hope to create a binary release soon. -- James --- http://macstrac.blogspot.com/

MapMessage.getInt

2007-06-13 Thread Elliotte Harold
Consider simple reception code like this: MapMessage message = (MapMessage) consumer.receive(1000); int x = message.getInt("foo")); I notice that x is now set to zero even though there was no "foo" value in the map. I would have expected an exception. The JavaDoc is unclear on thi

Re: ActiveMQ NMS MSMQ Source

2007-06-13 Thread reza_rahman
Thanks, that definitely helps. Are the binaries for NMS and the NMS MSMQ provider available at this point? James.Strachan wrote: > > On 6/13/07, reza_rahman <[EMAIL PROTECTED]> wrote: >> >> Hi: >> >> Where can I download the source code for NMS? I'm having trouble finding >> the >> MSMQ provid

Re: Disabling System.err logging

2007-06-13 Thread James Strachan
On 6/13/07, Elliotte Harold <[EMAIL PROTECTED]> wrote: I'm starting a JMS application using test first development, as is my habit. As soon as I run the first test, it's dumping a lot of junk like this to the console: Jun 13, 2007 10:07:06 AM org.apache.activemq.broker.BrokerService getBroker IN

Re: ActiveMQ NMS MSMQ Source

2007-06-13 Thread James Strachan
On 6/13/07, reza_rahman <[EMAIL PROTECTED]> wrote: Hi: Where can I download the source code for NMS? I'm having trouble finding the MSMQ provider. I think looking at the NMS source or API documentation will help in this regard... the source is described here http://activemq.apache.org/nms/sou

Re: concurrent.util backport

2007-06-13 Thread James Strachan
On 6/13/07, Elliotte Harold <[EMAIL PROTECTED]> wrote: Why does ActiveMQ require the backport of java.concurrent.util? I'm working in Java 5 and would be happy to use the regular, bundled version of java.util.concurrent, which I suspect works better anyway. Is there any chance to get a version o

ActiveMQ NMS MSMQ Source

2007-06-13 Thread reza_rahman
Hi: Where can I download the source code for NMS? I'm having trouble finding the MSMQ provider. I think looking at the NMS source or API documentation will help in this regard... Thanks in advance. Reza -- View this message in context: http://www.nabble.com/ActiveMQ-NMS-MSMQ-Source-tf3915009s

Disabling System.err logging

2007-06-13 Thread Elliotte Harold
I'm starting a JMS application using test first development, as is my habit. As soon as I run the first test, it's dumping a lot of junk like this to the console: Jun 13, 2007 10:07:06 AM org.apache.activemq.broker.BrokerService getBroker INFO: ActiveMQ 4.1.1 JMS Message Broker (localhost) is sta

concurrent.util backport

2007-06-13 Thread Elliotte Harold
Why does ActiveMQ require the backport of java.concurrent.util? I'm working in Java 5 and would be happy to use the regular, bundled version of java.util.concurrent, which I suspect works better anyway. Is there any chance to get a version of ActiveMQ that removes this external dependency? -- El

Re: discovery

2007-06-13 Thread Torsten Curdt
On 13.06.2007, at 12:44, James Strachan wrote: On 6/13/07, Torsten Curdt <[EMAIL PROTECTED]> wrote: What I am investigation atm is service discovery and consequent inter service communication. ActiveMQ with zeroconf for broker discovery looks like a good fit for what I am after. So I am playin

Messages from the durable topic are not deleted once they are read.

2007-06-13 Thread Arif Mohd
Hi, - Messages are posted in topic - Clients are able to read the message - but once they are read the message is not being deleted from the topic. - There are no pending subscribers which are yet to get the message Does any body know why the message is not deleted from the topi

Re: discovery

2007-06-13 Thread James Strachan
On 6/13/07, Torsten Curdt <[EMAIL PROTECTED]> wrote: What I am investigation atm is service discovery and consequent inter service communication. ActiveMQ with zeroconf for broker discovery looks like a good fit for what I am after. So I am playing with 4.1.1. Doing my first baby steps I thought

discovery

2007-06-13 Thread Torsten Curdt
What I am investigation atm is service discovery and consequent inter service communication. ActiveMQ with zeroconf for broker discovery looks like a good fit for what I am after. So I am playing with 4.1.1. Doing my first baby steps I thought the following should give me a broker and the b

Re: Master/Slave on Weblogic

2007-06-13 Thread James Strachan
On 6/13/07, wallace <[EMAIL PROTECTED]> wrote: Thanks Eric and James. I tried to deploy activemq as another web app (different app-deployment entry in config.xml). The other app did finish initialization. But apparently the activemq app blocked the server from entering running mode. So both ap