ActiveMQ Brokers using HTTP to communicate

2009-08-19 Thread lyall
G'day. I have ActiveMQ 5.1 working just fine using autodiscovery and multicast. I would like to configure 2 ActiveMQ 5.1 brokers to talk to each other using HTTP port 80, to make it easy with regards to firewalls. I assume this is possible, I see talk about client -> Broker using HTTP and have s

Re: CMS:Synchronous Request Response

2009-08-19 Thread Timothy Bish
On Wed, 2009-08-19 at 10:16 -0700, nmittal wrote: > I am using CMS for ActiveMQ to implement request-response. I understand from > the examples how to do asynchronous request-response. > > In my application I want the requester to wait till it receives the > response. How can this be done with the

Re: InvalidDestinationException not throw in C++ connector

2009-08-19 Thread Timothy Bish
On Wed, 2009-08-19 at 08:53 -0700, Edison Melo wrote: > Hi, I'm following > http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html > this to implement request-response. So far so good. I'm trying to find when > a response cannot be delivered to the temporary queue (e.g.

Re: New setup and lots of Errors

2009-08-19 Thread vezee
yes, i have tried "bin/activemq" as well as "bin/activemq-admin start" Any workaround? -- View this message in context: http://www.nabble.com/New-setup-and-lots-of-Errors-tp25037395p25048533.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

PERL/STOMP: MapMessages

2009-08-19 Thread nmittal
Hi, Has anyone been able to write a Perl client that reads MapMessges off of an ActiveMQ queue? We have a C++ ActiveMQ client that is sending MapMessages to the broker. However, the Perl client using Net::Stomp says that the body is undefined. Below is the message as seen in the activemq admin we

Scaling and tuning issues

2009-08-19 Thread shaldar
Hi - I have a single activemq broker based system - running a publish-subscribe model - each publisher posting a particular topic. Now a few of the topics have 20 subscribers - and are likely to grow to a few hundreds. I am also using a MySql based authentication and authorization plugin from T

CMS:Synchronous Request Response

2009-08-19 Thread nmittal
I am using CMS for ActiveMQ to implement request-response. I understand from the examples how to do asynchronous request-response. In my application I want the requester to wait till it receives the response. How can this be done with the CMS AMI. thanks for your help. -- View this message in c

Re: activeMQ 5.3-SNAPSHOT & org.apache.commons.net.ftp v2

2009-08-19 Thread ffrenchm
Ok I find it on my .m2/repository/commons-net and that great :) Anyway I get a new error on spring.beans.factory because the dependency in the activemq core bundle is set as optional and that activemq try to get this class. Maybe should this dependency not set as optional ? ffrenchm wrot

Re: No IConnectionFactory implementation problem

2009-08-19 Thread Timothy Bish
On Wed, 2009-08-19 at 15:59 +0100, Alistair Young wrote: > Hi there, > > I've downloaded the NMS and ActiveMQ binary assemblies 1.1.0, as well > as building them from source but I keep getting this error: > > No IConnectionFactory implementation found for connection URI: > activemq:tcp://host

activeMQ 5.3-SNAPSHOT & org.apache.commons.net.ftp v2

2009-08-19 Thread ffrenchm
Hello, your last update (r800235) on ActiveMQ add a new bundle dependency on org.apache.commons.net.ftp v2. The problem is that I don't find this bundle in the OSGI Alliance Repository (there is only the v1.4 here). Could anyone tell me were I can find this bundle ??? Thanks for all -- View th

InvalidDestinationException not throw in C++ connector

2009-08-19 Thread Edison Melo
Hi, I'm following http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html this to implement request-response. So far so good. I'm trying to find when a response cannot be delivered to the temporary queue (e.g. the producer disconnects), so I can deliver the response to a

No IConnectionFactory implementation problem

2009-08-19 Thread Alistair Young
Hi there, I've downloaded the NMS and ActiveMQ binary assemblies 1.1.0, as well as building them from source but I keep getting this error: No IConnectionFactory implementation found for connection URI: activemq:tcp://host.com:61613?transport.wireformat=stomp from this code: using Apache

Re: TTL set to 30 seconds, but messages are not getting expired.

2009-08-19 Thread Joe Fernandez
Bear in mind that an expired message remains in its destination until some activity occurs on its destination. Joe http://www.ttmsolutions.com pshar...@sapient.com wrote: > > Thanks for replying. I tried with this line of code. but still messages > are not getting expired. > > TimeSpan tim

Re: TTL set to 30 seconds, but messages are not getting expired.

2009-08-19 Thread Timothy Bish
On Wed, 2009-08-19 at 06:05 -0700, pshar...@sapient.com wrote: > Thanks for replying. I tried with this line of code. but still messages are > not getting expired. > > TimeSpan timeSpan = new TimeSpan(0, 0, 30); > this.producer.Send(bytesMessage, true, 1, timeSpan); > If you find its not working

Re: Code C# form CVS and failover

2009-08-19 Thread Timothy Bish
On Wed, 2009-08-19 at 05:55 -0700, Czaban wrote: > Post before was wrong, the AMQ client never has success - version form few > weeks ago works fine. You should be using the official 1.1.0 release available here, the trunk code is likely to be unstable as development occurs on that code base. The

Re: TTL set to 30 seconds, but messages are not getting expired.

2009-08-19 Thread pshar...@sapient.com
Thanks for replying. I tried with this line of code. but still messages are not getting expired. TimeSpan timeSpan = new TimeSpan(0, 0, 30); this.producer.Send(bytesMessage, true, 1, timeSpan); pshar...@sapient.com wrote: > > I tried to test for TTL. But it is not working fine. > I check messa

Re: Code C# form CVS and failover

2009-08-19 Thread Czaban
Post before was wrong, the AMQ client never has success - version form few weeks ago works fine. [NMS][Info]Connecting to: failover:(tcp://192.168.4.127:61616,tcp://192.168.2.206:61616) [NMS][Info]Connecting to: failover:(tcp://192.168.4.127:61616,tcp://192.168.2.206:61616) [NMS][Info]Connecting

Re: TTL set to 30 seconds, but messages are not getting expired.

2009-08-19 Thread Timothy Bish
On Wed, 2009-08-19 at 04:00 -0700, pshar...@sapient.com wrote: > I tried to test for TTL. But it is not working fine. > I check messages @ "http://localhost:8161/admin";. Messages are not getting > expired after specified time. > > public void SendMessage(IBusMessage busMessage) >

TTL set to 30 seconds, but messages are not getting expired.

2009-08-19 Thread pshar...@sapient.com
I tried to test for TTL. But it is not working fine. I check messages @ "http://localhost:8161/admin";. Messages are not getting expired after specified time. public void SendMessage(IBusMessage busMessage) { if (!this.isDisposed) { IBytesMe

Re: Code C# form CVS and failover

2009-08-19 Thread Czaban
Connecting to: failover:(tcp://192.168.4.127:61616,tcp://192.168.2.206:61616) at Apache.NMS.Tracer.get_IsDebugEnabled() in C:\Users\czaban\Documents\Visual Studio 2008\Projects\NMS\Apache.NMS\trunk\src\main\csharp\Tracer.cs:line 36

How to add a TransportListener in spring.

2009-08-19 Thread dirful_zone
Hi, this is dirful. I have two questions.Firstly, I found FAQ said if 'boker' a remote URL, it need third tool such as jconsole or other else, isn't it? And now, this is the second question. I make a project that there're two applications A and B. The work flow like this: Asend messag