Re: Could not connect to broker URL: tcp remote connection failure

2010-01-17 Thread Rob Davies
ok - some basic things to re-check - just in case: 1. so in the broker config only you have set tcp://0.0.0.0:port 2. your remote client is using tcp://hostname:port to connect to your broker 3. you don't have a rouge broker on your remote client's machine that its connected to 4. your remote

Re: Could not connect to broker URL: tcp remote connection failure

2010-01-17 Thread quinn
I spoke too soon. While this solution did allow my client to connect from a remote client without exceptions thrown, when I try to push data through, nothing happens. Yet, when I run the server and the client on the same machine, the data flows. Any further ideas? Thanks in advance. quinn wr

Remote JMX with both Web Console and JCONSOLE?

2010-01-17 Thread fwelland
Hi, Using AMQ with JDK 16_17.I have configured my broker with useJMX and disabled createConnector. I have open wire on 10444 via And started AMQ with SUNJMX="-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=10333 -Dcom.sun.manage

Re: Message timestamp and clock synchronization

2010-01-17 Thread Rob Davies
on the Message object - call the setProperty(String name,Object value) method - this should work On 17 Jan 2010, at 19:08, hackingbear wrote: Thanks a lot! Do you know more options for the general set message property problem? though it is not needed for now. I would still like to know of a

Re: Visibility timeout feature

2010-01-17 Thread Rob Davies
Yes - you do need to use a separate Session for each thread in that case cheers, Rob On 17 Jan 2010, at 15:56, yair wrote: Thanks again. I have a problem with that: I pop a message in one thread, work on it, and after a few seconds I am finished with it and then I need to commit (so that t

Re: Message timestamp and clock synchronization

2010-01-17 Thread hackingbear
Thanks a lot! Do you know more options for the general set message property problem? though it is not needed for now. I would still like to know of a way. rajdavies wrote: > >> problem: >> http://old.nabble.com/How-to-set-message-property-in-broker-filter-to26362561.html > -- View this mess

Re: Visibility timeout feature

2010-01-17 Thread yair
Thanks again. I have a problem with that: I pop a message in one thread, work on it, and after a few seconds I am finished with it and then I need to commit (so that the job will be removed from the queue). I want to use the commit method of the consumer object. While the message in "invisible" (

Re: Visibility timeout feature

2010-01-17 Thread Rob Davies
Hi Yair, yes - only create consumer and session once and reuse them - see this for more details: http://activemq.apache.org/how-do-i-use-jms-efficiently.html cheers, Rob On 17 Jan 2010, at 11:56, yair wrote: Thanks for your answer, Rob. I want to make sure what I do is correct: I create

Re: Visibility timeout feature

2010-01-17 Thread yair
Thanks for your answer, Rob. I want to make sure what I do is correct: I create a connection factory, and create a connection from it. Then each time i want to pop a message, I create a session(transacted=true), create a consumer, receive, and commit or rollback. For each message popped, I am cre