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.com>wrote: > 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 fields and the payload are can > be entered directly for each msg. > > There is no such tool shipped with ActiveMQ. However you could write one > yourself using any scripting language (e.g. Perl, Ruby) and the STOMP > protocol. > > > Torsten Mielke > tors...@fusesource.com > tmie...@blogspot.com > > > On Mar 19, 2012, at 3:39 PM, Ben Stover wrote: > > > 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 prefer a batch script where all header fields and the payload are can > be entered directly > > for each msg. > > > > How can I do this in detail? > > How would such a command look like? > > > > Thank you > > Ben > > > >