Re: help: ruby listener/publisher

2012-11-20 Thread topsweep1506
Hi I seem to be gettin somewere now ive got the default brokers running now (activemq.xml/activemq-stomp.xml) but when i try to configure them to what i want they are returning error messages When i try and change the transport connector host/port from the default to what i want in activemq-stom

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
You seem to be passing this argument to the activemq script: xbean:file:c:\apache-activemq-5.7.0\conf\activemq-stomp-my.xml These \ characters cause problems on Windows shells. Instead try using xbean:file:/c:/apache-activemq-5.7.0/conf/activemq-stomp-my.xml or a variation of this. Torsten

Re: Topic consumers are lost in a cyclic network

2012-11-20 Thread Gary Tully
reopened it, button on the top right. On 20 November 2012 15:09, Guerrero wrote: > Thank you for your quick response. > > I was able to sign up for the jira system, attach the test case and comment > on the issue, but I couldn't figure out how to reopen it. I don't know if > it's a permissions

Re: help: ruby listener/publisher

2012-11-20 Thread topsweep1506
Hi thorsten ive done what u told me with the broker file and the activemq-stomp.xml and im getting these errors which i think are java related Warning: JAVA_HOME environment variable is not set. Java Runtime: Oracle Corporation 1.7.0_09 C:\Program Files\Java\jre7 Heap sizes: current=1004928k

Re: Topic consumers are lost in a cyclic network

2012-11-20 Thread Guerrero
Thank you for your quick response. I was able to sign up for the jira system, attach the test case and comment on the issue, but I couldn't figure out how to reopen it. I don't know if it's a permissions problem or if I'm just not seeing the button. Can you reopen the issue as you suggested?

Fusesource PHP Stomp bug

2012-11-20 Thread James Green
If I try and send a large, multi-megabyte (base64 encoded), message to a queue my script issues the following notice then "hangs" consuming all available CPU: Notice: fwrite(): send of 8192 bytes failed with errno=104 Connection reset by peer in /home/jamesg/Stomp.php on line 495 Is this library

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
It seems to be necessary to fully escape the () in the broker command, e.g. ./activemq console broker:\\\(tcp://localhost:61613\\\) It should then startup. On Nov 20, 2012, at 1:11 PM, topsweep1506 wrote: > Hi torsten sorry for bein a pain but im gettin stuck with the broker config, > what i

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
Hi Tony, Instead of using the broker: argument to the bin/activemq script, it may be easier to put the broker config into a separate configuration file and reference that file at startup, e.g. ./activemq xbean:file:../conf/my-broker-config.xml It is easier to further fine tune the broker conf

Re: RESTful deletion/purging of queue in default config?

2012-11-20 Thread Dejan Bosanac
Unfortunately we don't have REST management API at the moment. I hope we'll have something like Apollo style REST API soon. Until then you can always easily hack a servlet like QueueBrowseServlet https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/we

Re: help: ruby listener/publisher

2012-11-20 Thread topsweep1506
Hi torsten sorry for bein a pain but im gettin stuck with the broker config, what i was goin to do was make my own config file using the uri statement (broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&useJmx=false) without using the jmx as i think thats were im

Re: RESTful deletion/purging of queue in default config?

2012-11-20 Thread James Green
I'm in a PHP script. On 20 November 2012 12:06, Dejan Bosanac wrote: > If it doesn't have to be REST, you can use JMX and JConsole to achieve the > same. > > Regards > -- > Dejan Bosanac > -- > Red Hat, Inc. > FuseSource is now part of Red Hat > dbosa...@redhat.com > Twitter

Re: RESTful deletion/purging of queue in default config?

2012-11-20 Thread Dejan Bosanac
If it doesn't have to be REST, you can use JMX and JConsole to achieve the same. Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb Blog: http://sensatic.net ActiveMQ in Action: http://www.manning.com/snyder/ On Tu

Re: RESTful deletion/purging of queue in default config?

2012-11-20 Thread James Green
>From the console works but has a session "secret" guid which changes every few minutes. I have also tried visiting the "Queues" link within CURL then visiting the delete link (without a "secret" parameter) without luck. On 20 November 2012 11:51, Dejan Bosanac wrote: > Can you try purging it f

Re: RESTful deletion/purging of queue in default config?

2012-11-20 Thread Dejan Bosanac
Can you try purging it from the web console? Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb Blog: http://sensatic.net ActiveMQ in Action: http://www.manning.com/snyder/ On Tue, Nov 20, 2012 at 12:36 PM, James G

Selectively redeliver?

2012-11-20 Thread Mattias Jiderhamn
Here is what I want to do: In my JMS listener, I want to have a(n inner) transaction that performs work, and that may end with an exception and be rolled back. Depending on the type of exception that caused the (inner) tx to roll back, I either want redelivery or ack the message as having been

Re: RESTful deletion/purging of queue in default config?

2012-11-20 Thread James Green
Given my reading of that page, an HTTP DELETE on http://10.0.0.123:8161/queue/inbound should delete the inbound queue... But I get a 404 instead. The page also talks about mapping but there's no detail on that. On 20 November 2012 11:20, Gaurav Sharma wrote: > Yes, see http://activemq.apache.

Re: Synchronizations removed at JTA resume - bug?

2012-11-20 Thread Mattias Jiderhamn
It turns out that not only is this a bug, it is known bug: https://issues.apache.org/jira/browse/AMQ-3059 I created a test case and commented on the above issue with reference to the test case. I'll start another thread for discussing a workaround. Dejan Bosanac wrote (2012-11-19 11:00):

Re: RESTful deletion/purging of queue in default config?

2012-11-20 Thread Gaurav Sharma
Yes, see http://activemq.apache.org/rest.html On Nov 20, 2012, at 3:03, James Green wrote: > Trying to whip up a quick script to test performance. > > It would be really useful to call a URI to purge/delete the queue I'm using > between iterations without needing to manually drain it. > > Is

Re: Topic consumers are lost in a cyclic network

2012-11-20 Thread Gary Tully
That does look like strange behavior. I think you should reopen AMQ-2327 with your test case. There may be a better way to resolve that issue that does not introduce ordering dependencies. The test case attached to AMQ-2327 is the best focus to understand the original use case but I think this may

Re: ActiveMQ.DLQ appears, even though

2012-11-20 Thread Gary Tully
To totally eliminate dlq processing, specify a null or empty strategy On Nov 20, 2012 9:18 a.m., "jayeff" wrote: > Hi all, > > I'm facing the following problem, maybe someone can help with this as I > couldn't find helpful suggestions when searching the mailinglist or Google. > > I have an appli

ActiveMQ.DLQ appears, even though

2012-11-20 Thread jayeff
Hi all, I'm facing the following problem, maybe someone can help with this as I couldn't find helpful suggestions when searching the mailinglist or Google. I have an application running an embedded broker with three queue, no topics. Messages are put into the queues inside a transaction with 1-30

Re: durable subscribe with Pure master/slave get bug?

2012-11-20 Thread Torsten Mielke
On Nov 20, 2012, at 4:38 AM, antlet wrote: > thanks! > OK, maybe I should give up the pure Master/Slave, then which way you > recommond ? I think jdbc + mysql is not a good Idea, it increase my > system's complexity ,and I dont think the reliability of mysql is better > than activeMQ, and it

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
Hi Tony, The conf/ folder contains a couple of different broker configurations for illustration purposes. If you run the broker using bin/activemq, it will by default use the configuration in conf/activemq.xml. So it is this broker config file that you need to change (or supply a different c