Re: error in subscribing topic

2009-09-13 Thread Rob Davies
On 14 Sep 2009, at 00:00, czy11421 wrote: Rob Davies wrote: On 13 Sep 2009, at 20:03, czy11421 wrote: Rob Davies wrote: On 13 Sep 2009, at 17:55, czy11421 wrote: Rob, Thanks for your reply. Here is another question. If I use MessageListener, how could I start to receive message ? Cod

Has anybody got Jmeter Point to Point working with ActiveMQ?

2009-09-13 Thread Robert Nicholson
If you've got it working can you share how you did? Specifically are you using jndi.properties and if so what's in that and what does you Point to Point setup in JMeter look like? I'm having a tough time getting this working with ClassCastExceptions 2009/09/13 21:35:43 ERROR - jmeter.threads

Re: error in subscribing topic

2009-09-13 Thread czy11421
Rob Davies wrote: On 13 Sep 2009, at 20:03, czy11421 wrote: Rob Davies wrote: On 13 Sep 2009, at 17:55, czy11421 wrote: Rob, Thanks for your reply. Here is another question. If I use MessageListener, how could I start to receive message ? Coding as below, the Listener will NOT output me

Re: error in subscribing topic

2009-09-13 Thread Rob Davies
On 13 Sep 2009, at 20:03, czy11421 wrote: Rob Davies wrote: On 13 Sep 2009, at 17:55, czy11421 wrote: Rob, Thanks for your reply. Here is another question. If I use MessageListener, how could I start to receive message ? Coding as below, the Listener will NOT output message. Did I miss

Re: error in subscribing topic

2009-09-13 Thread czy11421
Rob Davies wrote: On 13 Sep 2009, at 17:55, czy11421 wrote: Rob, Thanks for your reply. Here is another question. If I use MessageListener, how could I start to receive message ? Coding as below, the Listener will NOT output message. Did I miss something ? Thanks. Edward //--

Re: error in subscribing topic

2009-09-13 Thread Rob Davies
On 13 Sep 2009, at 17:55, czy11421 wrote: Rob, Thanks for your reply. Here is another question. If I use MessageListener, how could I start to receive message ? Coding as below, the Listener will NOT output message. Did I miss something ? Thanks. Edward //---

Re: error in subscribing topic

2009-09-13 Thread czy11421
Rob, Thanks for your reply. Here is another question. If I use MessageListener, how could I start to receive message ? Coding as below, the Listener will NOT output message. Did I miss something ? Thanks. Edward //- session = conn.createTopicSession(false, To

Re: error in subscribing topic

2009-09-13 Thread Rob Davies
On 13 Sep 2009, at 17:10, czy11421 wrote: Rob Davies wrote: On 12 Sep 2009, at 23:53, czy11421 wrote: I am running ActiveMQ 5, in the admin web page, I could see "STOCKS.SUNW" in Topics, and this topic is sending out message, then how could I subscribe this topic and get the published

Trying to get Point to Point sampler in Jmeter working?

2009-09-13 Thread Robert Nicholson
I'm doing everything that the documentation says I need to yet it cannot even find the InitialContextFactory Is there a more up to date set of instructions for using ActiveMQ with Jmeter? jmeter.protocol.jms.sampler.JMSSampler: Cannot instantiate class: org.activemq.jndi.ActiveMQInitialCo

Re: Retroactive Consumer on Virtual Topics

2009-09-13 Thread Rob Davies
On 13 Sep 2009, at 15:56, Ian de Beer wrote: Hi Is it possible to make Virtual Topic subscribers receive messages retroactively? I want the virtual topic subscribers to receive the most recent 10 messages from the actual Topic. Regards Ian -- View this message in context: http://www.nabble

Re: error in subscribing topic

2009-09-13 Thread czy11421
Rob Davies wrote: On 12 Sep 2009, at 23:53, czy11421 wrote: I am running ActiveMQ 5, in the admin web page, I could see "STOCKS.SUNW" in Topics, and this topic is sending out message, then how could I subscribe this topic and get the published message ? I have tried this coding, but I get t

Re: C# client stops receiving messages after getting ~400 of them

2009-09-13 Thread pPolak
SOLVED! (or so it seems :-)) As I said, all messages were the same except for the two-digit number at the end. Of course, there is only 100 numbers with two digits so naturally there were duplicated messages - and this was the main problem. As soon as I've set the connection's AcknowledgementMode

Retroactive Consumer on Virtual Topics

2009-09-13 Thread Ian de Beer
Hi Is it possible to make Virtual Topic subscribers receive messages retroactively? I want the virtual topic subscribers to receive the most recent 10 messages from the actual Topic. Regards Ian -- View this message in context: http://www.nabble.com/Retroactive-Consumer-on-Virtual-Topics-tp254

Re: Consumer doesnt recieve messages from producer

2009-09-13 Thread Timothy Bish
On Sat, 2009-09-12 at 07:27 -0700, sharongi wrote: > Hi Tim, > > Thanks for your answer, but this is not the case. > I have another question, regarding the same issue: > When I set the MessageListener, how can I "tell" it to run infinitely? > I came to notice that the Consumer finishes it's run pr

Re: Log4jJMSAppenderExample: Wire format negotiation timeout: peer did not send his wire format

2009-09-13 Thread mjustin
Problem solved: instead of activemq-core 5.2.0, now I am using activemq-all 5.2.0, and this solved the problem. Maybe it was just a problem with a wrong file in my local Maven repository. Cheers, - Michael Justin SCJP, SCJA betasoft - Software for Delphi™ and for the Java™ platform http://

Log4jJMSAppenderExample: Wire format negotiation timeout: peer did not send his wire format

2009-09-13 Thread mjustin
When I create and run the example Java program from http://activemq.apache.org/how-do-i-use-log4j-jms-appender-with-activemq.html, the following log messages appear: 14:19:13,637 DEBUG WireFormatNegotiator:77 - Sending: WireFormatInfo { version=3, properties={CacheSize=1024, CacheEnabled=true, Si