Re: Overhead of component creation to send message

2011-12-07 Thread Jason Dillon
Does the activemq-pool stuff cope with pooling connections, sessions and producers? Such that a component could access create and use these normally + close them, and under the covers activemq-pool will do the smart thing and reuse/avoid-close? Consumers are not pooled in similar fashion? I

Re: Does the producer know if a send fails with messages that are not persistent?

2011-12-07 Thread JRR
Nuts! Above, when I say milliseconds, I mean MICROseconds (1E-6). Sorry if this caused any concern or confusion. -- View this message in context: http://activemq.2283324.n4.nabble.com/Does-the-producer-know-if-a-send-fails-with-messages-that-are-not-persistent-tp4171293p4171401.html Sent from th

Does the producer know if a send fails with messages that are not persistent?

2011-12-07 Thread JRR
Hello, I'm using ActiveMQ CPP 3.4.0 and I've noticed that there is a huge difference in the amount of time the producer's send() method takes depending upon if the delivery method is PERSISTENT or NON_PERSISTENT. I'm using the simple_producer.cpp example that comes with the distribution. I've adj

broker fails to start with networkConnector

2011-12-07 Thread SchlauFuchs
Hi, I have installed a pretty default 5.5.1 broker configuration. It starts up nice and I can access it. My next step was to add the following block into it: and then on start up the broker crashes faster than it can write to the log file. The generated log bef

Re: Send buffer issue

2011-12-07 Thread Joe Carter
That works great. Thanks. For the record this is the code I used. I'm using Spring JavaConfig - hence Java not XML. BrokerService broker = new BrokerService(); ... NetworkConnector nc = broker.addNetworkConnector(NET_CONNECT_URL); nc.addStaticallyInc

Reply:Re: Reply:Reply:Re: Reply:Re: Reply:Re: Is there a simple way to solve the issuse of stuck messages when network?

2011-12-07 Thread SuoNayi
So why not set a new messageId for messages which will be forwarded to the original broker? At 2011-12-07 19:18:21,"Gary Tully" wrote: >yes, that feature needs to be combined with the audit=false destinationPolicy > >2011/12/7 SuoNayi : >> Another confusion abount forwarding messages and back

How to add additional resources to the maven-activemq-plugin's classpath

2011-12-07 Thread farhad
Hi, The Amon (ActiveMQ Monitor) documentation says that the license file should be placed in the $ACTIVEMQ_HOME/conf or in the broker's classpath. This works for standalone activemq, but what about the activemq's maven plugin? I've tried to put it inside the target and target/classes to no avail. T

Re: Reply:Reply:Re: Reply:Re: Reply:Re: Is there a simple way to solve the issuse of stuck messages when network?

2011-12-07 Thread Gary Tully
yes, that feature needs to be combined with the audit=false destinationPolicy 2011/12/7 SuoNayi : > Another confusion abount forwarding messages and back. > The lastest release version such as apache-activemq-5.5.1-fuse-01-06 and > apache-activemq-5.5.1-fuse-01-11 has added a new > conditionalNe

Reply:Reply:Re: Reply:Re: Reply:Re: Is there a simple way to solve the issuse of stuck messages when network?

2011-12-07 Thread SuoNayi
Another confusion abount forwarding messages and back. The lastest release version such as apache-activemq-5.5.1-fuse-01-06 and apache-activemq-5.5.1-fuse-01-11 has added a new conditionalNetworkBridgeFilter to allow messages to be forwarded back to the original broker where it come from. while

Re: Using Amon with maven-activemq-plugin

2011-12-07 Thread farhad
Thank you Claus,That did the trick. Bests, -Farhad -- View this message in context: http://activemq.2283324.n4.nabble.com/Using-Amon-with-maven-activemq-plugin-tp4165185p4168128.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.