Re: Advisory Messages -- None for Unsubscribe Durable from Topic? (etc)

2009-04-27 Thread Andreas Gies
Hi there, you can browse the AdvisorySupport class and navigate from there to understand which objects are used to create the Advisory messages. This having said, the architecture sounds a bit strange to me. One reason why you use JMS is to decouple producers and consumers. If I understand

Re: Please help:Again about ActiveMQ intigration with Websphere 6.1

2009-04-27 Thread Andreas Gies
Hi there, it seems, that your Queue cannot be located in the JNDI store. On the first glance I find it unusual that in an AppServer context you are using the ActiveMQ JNDI store. However, when you are using that, you must be sure, that the jndi.properties file where you have defined your JM

AMQ 5.2 no longer sets persistent header for STOMP

2009-04-27 Thread Roger Hoover
Hi, In AMQ 4.1, if a message is persistent, the broker will pass a 'persistent' header with value 'true' when a message is consumed from a queue. This is no longer the case in AMQ 5.2. Is this a bug or a purposeful decision? Thanks, Roger #!/usr/bin/env perl use strict; use Net::Stomp; use

Performance of high number of topics or selectors

2009-04-27 Thread Aaron Mulder
Let's say I have 100,000 stock tickers (or whatever) I want to track, each with a separate client. There seem to be two approaches -- putting them all in one topic and having each of the clients use a selector (ticker equivalent in a header property), or putting messages for each header on it's ow

Re: Subscribe + Client aknowledge problem

2009-04-27 Thread dlindquist
liquidd wrote: > > 3. Sending 1 incorrect messages. > 4. Consumer doesn't aknowledge them and continuing listen for other > message. (ActiveMQ keeps incorrect message). > And here problem: > 5. Sending 1 correct message. > 6. Consumer successfully reads 1 message and 1 times acknowledges. > 7. I

Advisory Messages -- None for Unsubscribe Durable from Topic? (etc)

2009-04-27 Thread dlindquist
I've been playing with the advisory messages in ActiveMQ -- primarily for the purpose of avoiding doing the work to build a message if no-one is listening on the topic, but also for monitoring clients. The advisory messages work great for this, but I seem to be missing where to find a couple of a

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 13:09 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > On Mon, 2009-04-27 at 09:38 -0700, nmittal wrote: > > > > Most autoconf based packages install in /usr/local by default unless you > > pass the prefix argument to the configure script. > > > > Try './configure

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > > On Mon, 2009-04-27 at 09:38 -0700, nmittal wrote: > > Most autoconf based packages install in /usr/local by default unless you > pass the prefix argument to the configure script. > > Try './configure --prefix=/usr' > > Reading the configure scripts help output can be

Please help:Again about ActiveMQ intigration with Websphere 6.1

2009-04-27 Thread Websphere and ActiveMQ
I have already configurated ActiveMQ in Websphere 6.1 as someone described here, but when I re-started websphere, the following error is appeared: ### error ## Content: JndiLookupInfo: jndiName="MyReceiveQueue"; providerURL="tcp://localhost:61616"; initialContextFactory="org.apache.ac

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 09:38 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > On Mon, 2009-04-27 at 08:35 -0700, nmittal wrote: > > > > > > You apparently have v1.2.7. You can usually find out the version by > > using the config script installed with APR 'apr-1-config --version' will >

Re: Segmentation fault while sending bytes messages

2009-04-27 Thread manua
Hi Tim, In continuation to my previous mail, I tried with increasing the array size at the producer end, but still getting the same error. Also, my producer is running till end, its the consumer which fails. The same consumer never fails for Text/Map Messages of any length and of any number of m

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > > On Mon, 2009-04-27 at 08:35 -0700, nmittal wrote: > > > You apparently have v1.2.7. You can usually find out the version by > using the config script installed with APR 'apr-1-config --version' will > tell you. You can find out where its installed by 'which apr-1-con

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 08:35 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > >>From problems you were having previously I'm assuming that you have an > > older version of APR installed somewhere on Path and that is getting > > found instead of the 1.3 version you built and installed in /usr

Re: [ActiveMQ Cleanup Timer] (org.apache.activemq.store.jdbc.DefaultDatabaseLocker:keepAlive:123) - Failed to update database lock:

2009-04-27 Thread Raj_New
I have gone through AMQ 5.2 source code and found following particular section where I am geetting exception. The exception is thrown after couple of days running my applicaton successfully. Any idea how to avoid it??? DefaultDatabaseLocker.java public boolean keepAlive() { Prepare

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > >>From problems you were having previously I'm assuming that you have an > older version of APR installed somewhere on Path and that is getting > found instead of the 1.3 version you built and installed in /usr/local > most likely in /usr/lib. The best solution is to buil

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread Timothy Bish
On Mon, 2009-04-27 at 08:17 -0700, nmittal wrote: > > > Timothy Bish wrote: > > > > On Fri, 2009-04-24 at 14:05 -0700, nmittal wrote: > >> > >> > >> > It looks like its not using the correct version of APR, which is odd. > >> > The `apr_pool_create_unmanaged_ex' didn't exist until APR 1.3 so i

Durable subscription with retroactive subscription recovery policy

2009-04-27 Thread Jose Luna
Hello, We have a large number (thousands) of durable subscribers that subscribe to a set of topics. These consumers will be connecting/disconnecting frequently, and we must ensure that they receive messages sent while they are disconnected (hence durable subscriptions). These durable subscri

Re: Libraries to include while compiling my activemq-cpp code

2009-04-27 Thread nmittal
Timothy Bish wrote: > > On Fri, 2009-04-24 at 14:05 -0700, nmittal wrote: >> >> >> > It looks like its not using the correct version of APR, which is odd. >> > The `apr_pool_create_unmanaged_ex' didn't exist until APR 1.3 so if >> > that's not being found then it seems as if you are getting a

Unable to compile ProducerTool.java code for Blob Messages

2009-04-27 Thread manua
Hi All, I am trying to use Blob Messages in my code, but getting following error at compile time. I have import the BlobMessage class. The same code is working fine for Text Messages. [r...@domu-12-31-38-00-35-27 example]# ant producer /usr/bin/build-classpath: error: Could not find xml-comm

[ActiveMQ Cleanup Timer] (org.apache.activemq.store.jdbc.DefaultDatabaseLocker:keepAlive:123) - Failed to update database lock:

2009-04-27 Thread Raj_New
I am getting this error using embedded broker of AMQ5.2. Database driver is db2. please suggest me how could I remove this error. I hope their are some configuration enteries that I am missing in activemq.xml. [4/26/09 20:13:19:769 CDT] 002f SystemOut O ERROR [ActiveMQ Cleanup Timer] (org

Re: QueueReceiver.close() throws InterruptedException

2009-04-27 Thread Stefan_Kr
It seems like the error of this post: http://www.nabble.com/InterruptedException-at-connetion.close()-td18846291.html#a18846291 *click* I also interrupt the Thread external. -- View this message in context: http://www.nabble.com/QueueReceiver.close%28%29-throws-InterruptedException-tp2321283