Re: Basic queue concept

2008-04-02 Thread Joel Poloney
On Wed, Apr 2, 2008 at 11:39 PM, Arjen van der Meijden < [EMAIL PROTECTED]> wrote: > I would go with 1. But you may want to add some control-code to ensure you > can easily and cleanly kill your scripts. In my code, I added a few signal > handlers, so the consumer first finishes its most recent jo

Re: Basic queue concept

2008-04-02 Thread Arjen van der Meijden
On 3-4-2008 7:47, Joel Poloney wrote: 1. I have a consumer in a while(1) { //consume } fashion. That would basically run forever. As I understand it, this is the way most web servers work (at the core, core level). In this model, I would have to make sure that the consumer was always running (per

Basic queue concept

2008-04-02 Thread Joel Poloney
List, I'm new to message queues, but I generally understand the concept. I've been playing with ActiveMQ this afternoon using the PHP Stomp client to make requests. I noticed that in the Stomp client you don't have access to any given queue size, whereas in the JMS API I have access to these numbe

RE: retroactive consumer still dropping msgs...

2008-04-02 Thread Andrew M
Are you sure? Would that explain why I'm getting only the most recently sent messages? What happened to the first 4800 of 5000? Thanks, Andrew -Original Message- From: liushk [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 7:37 PM To: users@activemq.apache.org Subject: Re: ret

Re: FIX Gateway to ActiveMQ

2008-04-02 Thread Alan D. Cabrera
You might want to take a look at ServiceMix. Regards, Alan On Apr 2, 2008, at 7:22 PM, Kuppe wrote: I am interested to hear if anyone has had any experience in integrating the point-to-point FIX protocol into an ActiveMQ broker. I am interested in providing a FIX gateway to third-party c

FIX Gateway to ActiveMQ

2008-04-02 Thread Kuppe
I am interested to hear if anyone has had any experience in integrating the point-to-point FIX protocol into an ActiveMQ broker. I am interested in providing a FIX gateway to third-party clients to connect into an existing market data engine using ActiveMQ for routing and distribution. Is there a

Re: How can I monitor the connection with the broker through .Net client.

2008-04-02 Thread Oleg Deribas
MohitR wrote: I am very new to ActiveMQ. I need to monitor the connection with the broker through .Net Client C#. I'm not pretty sure what do you mean by monitoring the connection? -- Oleg

Re: retroactive consumer still dropping msgs...

2008-04-02 Thread liushk
it looks like you need "acknowledge" the received messages Andrew M-2 wrote: > > My retroactive consumer is still only saving the most recent 797 messages. > The complete code for an app demonstrating this is here: > > > > http://www.nmedia.net/~andrew/tmp/CommandLinePublisher.java > >

NMS library hangs when connection to ActiveMQ is broken

2008-04-02 Thread jeetukiran
The NMS API calls to send and receive messages synchronously hang when the connection to ActiveMQ gets broken, the expections are not relayed back to the caller. -- View this message in context: http://www.nabble.com/NMS-library-hangs-when-connection-to-ActiveMQ-is-broken-tp16452218s2354p1645221

Re: ActiveMQ RA serialization issue in Websphere

2008-04-02 Thread gdaswani
Khudalla's patch fixes it for me in Glassfish. You need to compile it manually though as the patch isn't committed to the trunk yet (so the snapshots won't have it).. Even with the patch, the resource adapter is still pretty useless under glassfish especially under XA transactions. If you happe

Re: Startup scripts not working on Mac

2008-04-02 Thread gdaswani
krishna-25 wrote: > > Hi there, > > I've just started using ActiveMQ, and I am having trouble running it as a > daemon. > > I am able to launch it just fine with 'bin/activemq', but when I run > 'bin/macosx/activemq start', it appears to be starting, but does not. > > I'm running Mac OS 10.4

How can I monitor the connection with the broker through .Net client.

2008-04-02 Thread MohitR
Hi, I am very new to ActiveMQ. I need to monitor the connection with the broker through .Net Client C#. I saw that we can monitor it with the broker via the addTransportListener() method on the ActiveMQConnection. But that's there from ther server side. I need to do that on client side. Any help

Re: Java to .NET using NMS

2008-04-02 Thread Rob Davies
Agreed!! On 2 Apr 2008, at 05:28, Oleg Deribas wrote: battand wrote: Check out the top 4 links on this page. http://remark.wordpress.com/articles/ Great articles. They are worth a link from NMS page. -- Oleg

retroactive consumer still dropping msgs...

2008-04-02 Thread Andrew M
My retroactive consumer is still only saving the most recent 797 messages. The complete code for an app demonstrating this is here: http://www.nmedia.net/~andrew/tmp/CommandLinePublisher.java It connects, sends 5000 msgs, disconnects, then creates a consumer and subscribes. It ends with

Re: Unrecognized xbean element mapping: property in namespace http://activemq.org/config/1.0

2008-04-02 Thread Dhruba Bandopadhyay
Stock apache activemq 4.1.1 download. (I've tried the stock 5.0.0 and iona fmb 5.0.0.9 and they both have the 'Could not recover message from journal' problem.) On Wed, Apr 2, 2008 at 12:36 PM, James Strachan <[EMAIL PROTECTED]> wrote: > Which ActiveMQ distro are you using? > > > > On 02/04/2008

Re: Unrecognized xbean element mapping: property in namespace http://activemq.org/config/1.0

2008-04-02 Thread James Strachan
Which ActiveMQ distro are you using? On 02/04/2008, Dhruba Bandopadhyay <[EMAIL PROTECTED]> wrote: > Hi all, > > Please find two attached files. > > problem_activemq.xml - gives configuration which causes problem > problem_error_message.log - gives exception stack trace on startup > > This con

Re: Unrecognized xbean element mapping: property in namespace http://activemq.org/config/1.0

2008-04-02 Thread Dhruba Bandopadhyay
Now attaching the forgotten attachments. On Wed, Apr 2, 2008 at 12:25 PM, Dhruba Bandopadhyay <[EMAIL PROTECTED]> wrote: > Hi all, > > Please find two attached files. > > problem_activemq.xml - gives configuration which causes problem > problem_error_message.log - gives exception stack trace on

Unrecognized xbean element mapping: property in namespace http://activemq.org/config/1.0

2008-04-02 Thread Dhruba Bandopadhyay
Hi all, Please find two attached files. problem_activemq.xml - gives configuration which causes problem problem_error_message.log - gives exception stack trace on startup This config is literally taken from the activemq website but with this I cannot even start activemq. I tried upgrading to sp

Re: Unhandeled exception when producer sending message in free.c at HeapFree after sending large ammount of messages

2008-04-02 Thread Timothy Bish
Your best bet is to create a small sample application that can reproduce this error so that we can debug it. I've never seen this kind of behavior from amq-cpp so I don't know yet where it could be failing. If you can create a sample app and create a Jira issue and attach your files I can take a

I try to sort out the errors and exception messages I have met

2008-04-02 Thread Chen Yi Chen
Dear Sir, I try to sort out the errors and exception messages I have met as the following: Category 1 (Unable to locate): 11:39:40,000 INFO [ResourceXmlApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [EMAIL PROTECTED] There are 32 messages similar to

Re: Unhandeled exception when producer sending message in free.c at HeapFree after sending large ammount of messages

2008-04-02 Thread narts
Iam using ActiveMQ 4.1.1 and ActiveMQ-cpp-2.1.3 on Windows 2003 server Enterprise Edition with VC++ 8.0. Iam sending persistent text messsage using Topic to a destination. (wireFormat=openwire, transport.useAsyncSend=false, Session::AUTO_ACKNOWLEDGE, DeliveryMode::PERSISTENT )

Re: Network of brokers - already connected

2008-04-02 Thread toff
Hi Joe, thank you again. I confirm that taking avay the duplex attribute does the trick. g -- View this message in context: http://www.nabble.com/Network-of-brokers---already-connected-tp16396907s2354p16443886.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.