Re: Question related to prefetch size

2008-10-22 Thread Rob Davies
prefetchSize=0 is what you're probably after On 22 Oct 2008, at 21:50, Peter Niederwieser wrote: Hi, how is it possible for a consumer with PrefetchSize=1 to have MessageCountAwaitingAcknowledge=2? My assumption was that the consumer would only get a second message after acknowledging the fi

Re: use AMQ to transfer, about Security problem

2008-10-22 Thread jfcharles
Dave Stanley wrote: > > Hi Gui, > The attached file seems to work ok. Can you copy out the relevant parts > and > give it a try. > > /Dave > > > On Thu, Oct 16, 2008 at 10:15 PM, gui pei <[EMAIL PROTECTED]> wrote: > >> Hi, Stanley >> >> I think that is not true. >> >> the duplex option is

Writing a custom (non-JMS) TCP protocol

2008-10-22 Thread Andy Gross
I'm currently using ActiveMQ in a mixed-language environment. For the non-Java clients, I hacked the Ajax/MessageListener servlet modules to produce JSON and wrote clients using the HTTP client/JSON libraries of the respective languages (basically translations of the Ajax long-poll exam

JMS to File

2008-10-22 Thread harpritt
Ive tried this in 1.3 1.4 and 1.5 using i cant seem to get anything in side the file other than the payload... headers get stripped what am i screwing up, this is driving me potty. Kind Regards Sir Noobalot III aka Harpritt -- View this message i

Question related to prefetch size

2008-10-22 Thread Peter Niederwieser
Hi, how is it possible for a consumer with PrefetchSize=1 to have MessageCountAwaitingAcknowledge=2? My assumption was that the consumer would only get a second message after acknowledging the first one, but JMX tells me the opposite. My setup: ActiveMQ 5.1, Spring 2.5.5, DefaultMessageListenerCo

Re: No valid response received for command activemq-CPP

2008-10-22 Thread Timothy Bish
I'd recommend updating to the 2.2.1 release as this will probably resolve the issue since it still looks like you are running into a case where producer flow control is needed to block you from producing more messages then the broker can accommodate. If you still have issues after updating we can

[ANN] VTD-XML extended edition released

2008-10-22 Thread jimmy Zhang
The Java version of extended VTD-XmL is released and available for download. This version supports 256 GB max file sizes and memory mapped capabilities. The updated documentation is also available for download. In short, you can basically do full XPath query on documents that are bigger than memor

Re: No valid response received for command activemq-CPP

2008-10-22 Thread subrash
the activemq-cpp client version is 2.2 Timothy Bish wrote: > > What version of the client are you using? > > Regards > Tim. > > On Wed, 2008-10-22 at 11:58 -0700, subrash wrote: >> >> >> subrash wrote: >> > >> > I have a very simple piublisher publishing 2000 messages it seems to >> lose >>

Re: No valid response received for command activemq-CPP

2008-10-22 Thread Timothy Bish
What version of the client are you using? Regards Tim. On Wed, 2008-10-22 at 11:58 -0700, subrash wrote: > > > subrash wrote: > > > > I have a very simple piublisher publishing 2000 messages it seems to lose > > connection repeatedly as send fails after some time > > is there some parameter i

Re: No valid response received for command activemq-CPP

2008-10-22 Thread subrash
subrash wrote: > > I have a very simple piublisher publishing 2000 messages it seems to lose > connection repeatedly as send fails after some time > is there some parameter i can set so that this does not happen . these > errors do not occur if i use NON_PERSISTENT mode > i have attached three

No valid response received for command activemq-CPP

2008-10-22 Thread subrash
I have a very simple piublisher publishing 2000 messages it seems to lose connection repeatedly as send fails after some time is there some parameter i can set so that this does not happen . these errors do not occur if i use NON_PERSISTENT mode i have attached three files to this message the fi

Re: JBoss Integration - recovering XAResource

2008-10-22 Thread Hans Bausewein
rball wrote: > > I upgraded to ActiveMQ 5.1.0 and this problem appears to have been > rectified > Hmm, interesting! So it seems the XA connection-definitions are not needed at all. (which also explains why they are not included by default) You might want to try 5.2.0 RC2. See: http://www

Re: IllegalStateException: Cannot lookup a connection that had not been registered:

2008-10-22 Thread rball
I upgraded to ActiveMQ 5.1.0 from 5.0.0 and this problem appears to have disappeared -- View this message in context: http://www.nabble.com/IllegalStateException%3A-Cannot-lookup-a-connection-that-had-not-been-registered%3A-tp20080376p20116241.html Sent from the ActiveMQ - User mailing list arc

Re: JBoss Integration - recovering XAResource

2008-10-22 Thread rball
I upgraded to ActiveMQ 5.1.0 and this problem appears to have been rectified -- View this message in context: http://www.nabble.com/JBoss-Integration---recovering-XAResource-tp20035573p20116212.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How do I decide choose embeded activemq or not-embeded activemq

2008-10-22 Thread Gary Tully
> they have the same performance > for the embeded & non-embeded? > Yes. And note that collocated users of an embedded broker can make use of the faster vm transport. see: http://activemq.apache.org/how-should-i-use-the-vm-transport.html > > Gary Tully wrote: >> >> I think most of considerations a

Admin Interface Sorting

2008-10-22 Thread Bryan Murphy
Is there a way I can have the administration interface automatically sort the queues by name when I go to the queues page without having to click on the name column? Thanks, Bryan

Re: Reading a message with a amqsgetc

2008-10-22 Thread ZeePeeWee
Yes I tried the consumer tool and that worked fine. I ideally want to read what I have placed on activemq with IBM tooling. Initially the test tool "getc" and then with the MQQueueManager and associated classes out of the com.ibm.mq jars. My final aim to provide an IBM look-alike interface for r

Re: Reading a message with a amqsgetc

2008-10-22 Thread Joe Fernandez
No, you'll have to either use ActiveMQ client libraries, set up a bridge between ActiveMQ and MQ, or maybe use Camel to bridge the two. Joe http://www.ttmsolutions.com - get a free ActiveMQ user guide ZeePeeWee wrote: > > I'm using the example ant producer to put messages on a queue. That's >

Re: How do I decide choose embeded activemq or not-embeded activemq

2008-10-22 Thread Imagine_David
Thank you Gary, as the article you gave said, if i just have maybe 2 jvm to run the project, i should choose embeded activemq broker. are they have the same performance for the embeded & non-embeded? Gary Tully wrote: > > I think most of considerations are captured @ > http://activemq.apache.or

Re: Reading a message with a amqsgetc

2008-10-22 Thread Bruce Snyder
On Wed, Oct 22, 2008 at 8:47 AM, ZeePeeWee <[EMAIL PROTECTED]> wrote: > > I'm using the example ant producer to put messages on a queue. That's worked > fine and I've 2000 messages on a queue. Can I then read them using amqsgetc > or the by using com.ibm.mq libraries? You will need to connect to A

Re: Reading a message with a amqsgetc

2008-10-22 Thread James Strachan
2008/10/22 ZeePeeWee <[EMAIL PROTECTED]>: > > I'm using the example ant producer to put messages on a queue. That's worked > fine and I've 2000 messages on a queue. Can I then read them using amqsgetc > or the by using com.ibm.mq libraries? Neither of those will work AFAIK > I don't see where any

Reading a message with a amqsgetc

2008-10-22 Thread ZeePeeWee
I'm using the example ant producer to put messages on a queue. That's worked fine and I've 2000 messages on a queue. Can I then read them using amqsgetc or the by using com.ibm.mq libraries? I don't see where anyone has done this so I'm guessing it's not possible. I just want to read the messages

Re: Where the Message object (javascript) of amq.js is defined ?

2008-10-22 Thread cmoulliard
Many thanks Dejan. It could be interesting to update the ajax.html page with the above text in order to help all the users that we are ;) KR, Charles Dejan Bosanac-3 wrote: > > Hi Charles, > > stock portfolio example sends XML in a text message to the Ajax client. > Therefore, you'll get t

Re: Where the Message object (javascript) of amq.js is defined ?

2008-10-22 Thread Dejan Bosanac
Hi Charles, stock portfolio example sends XML in a text message to the Ajax client. Therefore, you'll get the response like this (full body). the "message object" you see is just the xml text and getAttribute() is JavaScript way of handling XML tag attributes. So, there is no "definition" of

Re: Spring JmsTemplate receive() returns null with messages in Queue

2008-10-22 Thread mkeenan
James.Strachan wrote: > > How many consumers do you have active? (See JMX). See these FAQ entries... > > http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html > http://activemq.apache.org/what-is-the-prefetch-limit-for.html > I am not the original poster, but I am ha

Re: Stomp Client Hoarding Messages

2008-10-22 Thread James Strachan
2008/10/22 logictude <[EMAIL PROTECTED]>: > > Here's the nutshell: > > I have AMQ (v5.1.0) running great and my clients subscribe just fine. At > this moment I have between two and three clients connected to AMQ (queue, > FYI, not topic). > > Each client reads incoming messages and checks for a key

Re: Where the Message object (javascript) of amq.js is defined ?

2008-10-22 Thread cmoulliard
Hi, Additional question : What is the javascript class of the message returned (DOM, XMLHTTPResuest, ) ? The existing doc does not help us because in the two example, we saw that we can use message.getAttribute or message.getChildNodes[0], ... ? KR, Charles Moulliard cmoulliard wrote: >

Re: Spring JmsTemplate receive() returns null with messages in Queue

2008-10-22 Thread James Strachan
How many consumers do you have active? (See JMX). See these FAQ entries... http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html http://activemq.apache.org/what-is-the-prefetch-limit-for.html 2008/7/11 Yohan Liyanage <[EMAIL PROTECTED]>: > > Hi, > > I tried to use JmsTe

Re: Does using transactions on jms consumer lowers the performance?

2008-10-22 Thread James Strachan
I didn't notice the cross post to different lists - here's my answer in the servicemix thread... http://cwiki.apache.org/SM/discussion-forums.html#nabble-p20106028 2008/10/22 pratibhaG <[EMAIL PROTECTED]>: > Click to flag this post > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii