Re: Where is the ActiveMQ's Destination?

2008-07-29 Thread Bob Temple
Thanks your help, the guide is great, I am trying to figure out te problems. On Wed, Jul 30, 2008 at 11:40 AM, Joe Fernandez < [EMAIL PROTECTED]> wrote: > > You'll need to set up forwarding bridges (networkConnectors) from MQ1 to > MQ2 > and from MQ2 to MQ3. Make sure to set networkTTL to 2. MQ2

Re: Where is the ActiveMQ's Destination?

2008-07-29 Thread Joe Fernandez
You'll need to set up forwarding bridges (networkConnectors) from MQ1 to MQ2 and from MQ2 to MQ3. Make sure to set networkTTL to 2. MQ2 and MQ3 will also need transportConnectors. See the following page. http://activemq.apache.org/networks-of-brokers.html You can also download a free ActiveMQ u

Authentication with the Ajax Connector

2008-07-29 Thread Dan White
I'd like to experiment with adding authentication functionality to the Ajax connector, and would like some advice. An idea I have is to try the following: Add a connect/login method to the javascript code Authenticate the user with a ConnectionInfo instance in the Ajax servlet (as seen in the

Where is the ActiveMQ's Destination?

2008-07-29 Thread Bob Temple
Hello everyone, suppose I have 3 nodes. each node has the MQ broker that connects to the next broker. MQ1 - > MQ2 --> MQ3 I wanna produce some messages from MQ1 to MQ3. and MQ1 and MQ3 are physically seperated. how can produce the message from MQ1 to MQ3 throught MQ2? on the network

Net::Stomp and failover/network of brokers transport?

2008-07-29 Thread Dylan Vanderhoof
I know several people over time have said they're working on HA extensions to Net::Stomp. Has anybody actually made any progress on this with code they're willing to share? Thanks, Dylan

Re: Configure ActiveMQ Client with a proxy

2008-07-29 Thread James Strachan
FWIW ActiveMQ does not use HTTP by default - port 61616 is a binary TCP connection, not a REST connector 2008/7/29 brlima <[EMAIL PROTECTED]>: > > BTW, this is the exception: > > > >> javax.jms.JMSException: Could not connect to broker URL: >> tcp://xxx.xx.xx.xx:61616. Reason: java.net.SocketExcep

Re: Configure ActiveMQ Client with a proxy

2008-07-29 Thread brlima
BTW, this is the exception: > javax.jms.JMSException: Could not connect to broker URL: > tcp://xxx.xx.xx.xx:61616. Reason: java.net.SocketException: Malformed > reply from SOCKS server > at > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33) > at > org

Re: Configure ActiveMQ Client with a proxy

2008-07-29 Thread brlima
A HTTP proxy. James.Strachan wrote: > > 2008/7/29 brlima <[EMAIL PROTECTED]>: >> >> Hi All, >> >> I´m having a really dificult time to configure an ActiveMQ Client in a >> Swing >> Project, where the client uses a proxy. I have no alternative to turno >> off >> this proxy. And i´m not finding

Re: Configure ActiveMQ Client with a proxy

2008-07-29 Thread James Strachan
2008/7/29 brlima <[EMAIL PROTECTED]>: > > Hi All, > > I´m having a really dificult time to configure an ActiveMQ Client in a Swing > Project, where the client uses a proxy. I have no alternative to turno off > this proxy. And i´m not finding anything on how set it up. > > Does anyone know hot to se

Configure ActiveMQ Client with a proxy

2008-07-29 Thread brlima
Hi All, I´m having a really dificult time to configure an ActiveMQ Client in a Swing Project, where the client uses a proxy. I have no alternative to turno off this proxy. And i´m not finding anything on how set it up. Does anyone know hot to set up the ActiveMQ Client to go thru a proxy? Thank

Re: Only memory transaction store with JDBC persistence adapter??

2008-07-29 Thread Ryan Stewart
rajdavies wrote: > > > On 29 Jul 2008, at 05:41, bwtaylor wrote: > >> >> I'm kind of baffled by this, as I thought you had to flush the >> prepare out to >> a durable media, too. This is in fact, what >> http://activemq.apache.org/how-do-transactions-work.html claims >> happens. I >> don't

Re: Only memory transaction store with JDBC persistence adapter??

2008-07-29 Thread Ryan Stewart
bwtaylor wrote: > > [...] > The underlying jdbc connection commits when told to do so from the > TransactionContext object, which commits when JDBCPersistenceAdapter's > commitTransaction method is called. I don't quite see how this is > connected to the XATransaction's calling of commit(). >

Re: Expired messages not moved to dead letter queue.

2008-07-29 Thread RavshanKos
RavshanKos wrote: > > > mlukica wrote: >> >> Check: >> http://issues.apache.org/activemq/browse/AMQ-1796 >> > I switched to 5.2-SNAPSHOT, but this didn't help. > > I've find workaround of this issue. I've scheduled browsing of needed queue with javax.jms.QueueBrowser: logger.debug(

Re: Closing Producers

2008-07-29 Thread James Strachan
BTW to avoid having to write all the code to explicitly close things down you can use the JmsTemplate or MessageListenerContainer helper classes in the spring framework. 2008/7/28 rodih <[EMAIL PROTECTED]>: > > Thanks for the quick response. I will take your advice and will close > resources expli

Re: AMQ Message Store setting

2008-07-29 Thread Ramdas Sawant
Hi Rob, Thanks Rob for your reply. Below is the method i am using for generating messages /// *public* *void* startPublishing(String protocol, String host, String port)* throws* JMSException { hostString = protocol + "://" + host