Difference between activemq.bat and activemq-admin.bat

2012-03-19 Thread Ben Stover
What is the difference between the two Batch scripts (under Win7): activemq.bat and activemq-admin.bat When do I have to start which script? Ben

Re: Difference between activemq.bat and activemq-admin.bat

2012-03-19 Thread Torsten Mielke
activemq.bat is the script to start the broker. activemq-admin.bat is used to query a running broker instance using a command line tool. See http://activemq.apache.org/activemq-command-line-tools-reference.html for more information. Hope this helps, Torsten Mielke tors...@fusesource.com

Easiest way to (pre-)fill/add new msgs into an ActiveMQ server?

2012-03-19 Thread Ben Stover
Assume I started a new installed ActiveMQ server on a new server machine. Now I want to pre-fill (e.g. for presentation or testing purposes) this ActiveMQ server with a couple of sample msgs. What is the easiest way to do that? I don't want to do this manually through the browser interface. I

Re: Ordering of messages with a network of brokers ...

2012-03-19 Thread Greg Thomas
On 16 March 2012 09:15, Torsten Mielke tors...@fusesource.com wrote: Hello Greg, Both statements are correct. [Snip: In summary, a single broker will maintain order, multiple brokers may not under failure] Hope this helps. It does, thank you. As I want resilient, ordered delivery I think

Re: Failed to shut down: javax.management.InstanceNotFoundException

2012-03-19 Thread Dejan Bosanac
You can raise a Jira so that remote broker jmx facade check if the broker is master (it can do it using broker object attribute) before it starts using that connection. Regards -- Dejan Bosanac Senior Software Engineer | FuseSource Corp. dej...@fusesource.com | fusesource.com skype:

Re: Easiest way to (pre-)fill/add new msgs into an ActiveMQ server?

2012-03-19 Thread Torsten Mielke
Hello Ben, You have a couple of options for sending messages to the broker: - Use the web console - use JMX operation (e.g. via JConsole) - use other external tools that aren't provided by ActiveMQ like HermesJMS - write you own little application I prefer a batch script where all header

Re: Easiest way to (pre-)fill/add new msgs into an ActiveMQ server?

2012-03-19 Thread jaskirat singh
Hi Ben I always use Java client to send test messages. Write any client code in your language and use command line to control it. Thanks Jaskirat On Mon, Mar 19, 2012 at 9:02 AM, Torsten Mielke tors...@fusesource.comwrote: Hello Ben, You have a couple of options for sending messages to the

Re: Easiest way to (pre-)fill/add new msgs into an ActiveMQ server?

2012-03-19 Thread Marcelo Jabali
Hi Ben, Like Thorsten and Jaskirat said you have a few options but you can also run any of those samples shipped with ActiveMQ as well. Have a look at $AMQ_HOME/example and you can easily run an Ant script with the options described on the build.xml file where you can configure the broker URL,

ActiveMQ client jars?

2012-03-19 Thread Don Asper
I'm using ActiveMQ 5.5.0. What is the minimal set of jars needed by an ActiveMQ client that's using a standalone broker? I found an ActiveMQ page that lists required jars, but that list does not seem to distinguish between what's needed for servers and clients. -- View this message in context:

Re: ActiveMQ client jars?

2012-03-19 Thread jaskirat singh
I believe you will only need activemq core and kahadb jar. Though my project used to have lots of other jars which could be common in activemq, but try that out. On Mon, Mar 19, 2012 at 10:13 AM, Don Asper don.as...@sas.com wrote: I'm using ActiveMQ 5.5.0. What is the minimal set of jars

Migrate existing kahaDB to a new version of ActiveMQ possible?

2012-03-19 Thread Ben Stover
Assume the ActiveMQ v5.3.0 KahaDB contains a lot of messages in Queues and Topics. Now we are planning to migrate to ActiveMQ v5.5.1 How can I copy all these existing messages into the KahaDB of the new ActiveMQ server? Can we simply copy all *.data and *.redo files to the new installation

Embedded Broker / AJAXServlet / Jetty

2012-03-19 Thread unficyp
Hi all, i'm using activemq 5.4.3 together with Jetty 8.1.2. I built a java program using an embedded broker in a thread. The thread creates a topic, reads messages from ZeroMQ and sends them to the topic. In the program, i enabled a jetty embedded server using the AJAXServlet in a