Re: I am abel to ping the machine but still received exception "Could not connect to broker URL"

2008-06-20 Thread _prasad
Here is the output of telnet. bash-3.00$ telnet 150.123.186.61 61616 Trying 150.123.186.61... Connected to 150.123.186.61. Escape character is '^]'. ÙActiveMQTightEncodingEnabled CacheSizeTcpNoDelayEnabledSizePrefixDisabledStackTraceEnabled MaxInactivityDurationInitalDelay'MaxInactivityDuratio

Re: I am abel to ping the machine but still received exception "Could not connect to broker URL"

2008-06-20 Thread Sridhar2008
Does 'telnet 150.123.186.61 61616' work from you unix machine ? _prasad wrote: > > Hi , > > While developeing an application using Spring & ActiveMQ, I am getting the > following exception. > Sender is on UNIX machine. > Broker and receiver are running on same Windows machine. > From UNIX

I am abel to ping the machine but still received exception "Could not connect to broker URL"

2008-06-20 Thread _prasad
Hi , While developeing an application using Spring & ActiveMQ, I am getting the following exception. Sender is on UNIX machine. Broker and receiver are running on same Windows machine. >From UNIX machine , I am able to "ping" successfully to Windows machine where receiver & broker are running.

Re: ActiveMQ 5.1 broken - repro test included

2008-06-20 Thread NateS
Thanks Rob. It seems amazing to me that the product is broken when used like I am, and no one noticed. Maybe my test case could be made into a unit test or something? -Nate rajdavies wrote: > > > On 5 Jun 2008, at 23:43, NateS wrote: > >> >> We had been using 4.1.1 and recently upgraded to

Re: JMS Bridge retries and transactions

2008-06-20 Thread ttmdev
A broker automatically retries connections to remote brokers. Clients will also automatically retry connections to brokers, but they need to use the 'failover' transport. Joe www.ttmsolutions.com dlaidlaw wrote: > > > OK, so JMS Bridges are not the recommended solution. And I will look at

AMQ-1195 Get duplicate message after restart Topic subscriber.

2008-06-20 Thread rhealey
Does anyone know if issue # AMQ-1195 is resolved and if so which version it was resolved in? It seems like I have the same problem in ActiveMQ v 4.1.1 but it looks like it does not happen in 5.1.0. I am confused by the bug report web page (found at https://issues.apache.org/activemq/browse/AMQ-1

Re: Basic Authentication with HTTP connector

2008-06-20 Thread ttmdev
Enable simple or JAAS-based authentication @ the broker. http://activemq.apache.org/security.html Then have your client pass in the proper username and password when creating the JMS connection. Its not HTTP Basic Authentication, but it should do the trick. For added security, you can use the

Re: JMS Bridge retries and transactions

2008-06-20 Thread dlaidlaw
OK, so JMS Bridges are not the recommended solution. And I will look at camel and how robust I can make it. But in the mean time, what about a network of brokers? The broker network stuff also moves messages between brokers. In my case they will all be ActiveMQ brokers so no issue about foreign

Basic Authentication with HTTP connector

2008-06-20 Thread Bob G.
Hello, I have a Java Client App, started with Webstart, that is using JMS to communicating over the Internet to my ActiveMQ via the HTTP Connector (to be clear, not the REST Servlet but the HTTP connector) - How can I use Basic Authentication for this HTTP Connection ? - His ther

Re: JMS Bridge retries and transactions

2008-06-20 Thread Rob Davies
On 20 Jun 2008, at 16:25, dlaidlaw wrote: I was looking at the source code for JMS Bridges to see how robust the connections would be. Would they auto-recover, retry delivery, were they transacted, etc. I noticed some code in there that seemed to be aimed at having retry behavior but no

JMS Bridge retries and transactions

2008-06-20 Thread dlaidlaw
I was looking at the source code for JMS Bridges to see how robust the connections would be. Would they auto-recover, retry delivery, were they transacted, etc. I noticed some code in there that seemed to be aimed at having retry behavior but no loop for a retry. Look at the org.apache.activemq.

Re: Newbie question about simple application

2008-06-20 Thread Arnau
Hi Joe, ttmdev wrote: You may want to look into setting up a Camel context to implement such routing rules. http://activemq.apache.org/enterprise-integration-patterns.html I think I have done. I paste my activemq.xml file: http://www.springframework.org/schema/beans"; xmlns:amq="http

Re: Newbie question about simple application

2008-06-20 Thread ttmdev
You may want to look into setting up a Camel context to implement such routing rules. http://activemq.apache.org/enterprise-integration-patterns.html Joe www.ttmsolutions.com Arnau wrote: > > Hi all, > > Yesterday I discovered ActiveMQ and I have been banging my head > against a wall :).

Re: Redelivery sticks to and blocks a consumer thread

2008-06-20 Thread Demian Mrakovich
OK, I found some time to test this on 5.1 myself. Unfortunately the issue is NOT resolved as far as I can tell. I don't see how anyone can live with this... Consider a system which processes 100 messages/sec, with MaximumRedeliveries to 8 for a total of let's say an hour (in case of network fail

Newbie question about simple application

2008-06-20 Thread Arnau
Hi all, Yesterday I discovered ActiveMQ and I have been banging my head against a wall :). What I'd like to do is the following: 1. Create a local broker (A) that comunicates with a remote broker(B). I'd use two diferent computers. 2. Define two queues on each broker TX and RX 3. All the m