Hey James
Sorry didnt get back to you earlier. Bit frantic. Anyway, I have a test main
class that calls run()
warwick
James.Strachan wrote:
>
> who calls ConsumerImpl.run()?
>
> On 5/22/07, warwick.mayson <[EMAIL PROTECTED]> wrote:
>>
>> hi James
>>
>> Both the producer and consumers are
who calls ConsumerImpl.run()?
On 5/22/07, warwick.mayson <[EMAIL PROTECTED]> wrote:
hi James
Both the producer and consumers are managed by Spring. They are not run as
threads, so there is only one instance of each.
The producer test code:
public void testSend() {
Producer producer
hi James
Both the producer and consumers are managed by Spring. They are not run as
threads, so there is only one instance of each.
The producer test code:
public void testSend() {
Producer producer = (Producer)
Context.instance().getBean("queueProducer");
for (int i
On 5/22/07, warwick.mayson <[EMAIL PROTECTED]> wrote:
Hi
Thanks for the fast response!
I am using activemq 4.1.1
The producer, consumer and activemq conf is attached
I have test class that simply loops i number of times calling
producer.send("msg#" + i) and the trace on the consumer.onMessag
Hi
Thanks for the fast response!
I am using activemq 4.1.1
The producer, consumer and activemq conf is attached
I have test class that simply loops i number of times calling
producer.send("msg#" + i) and the trace on the consumer.onMessage() method
displays all even numbered messages followed
On 5/20/07, warwick.mayson <[EMAIL PROTECTED]> wrote:
Hi All
I have a simple setup... one producer, one broker one consumer for a single
queue.
The producer sends numbered TextMessages
The consumer receives all even numbered messages then recieves all odd
numbered messages.
Has anyone else s