2009/1/7 agatone <zoran.z...@gmail.com>: > > Hello, > > As I'm from non-Java world trying to get into this Java stuff it's quite > hard to understand all JAVA stuff concepts. B/c of that I have problems > understanding ActiveMQ manual (mostly i don't know how to define search > terms that would get me something useful) so I decided to ask here. > > Basically I'd like to know only if these things are possible and what term > to search for in manual (or google) so I can read about it. > > Can ActiveMQ invoke code (written: C#, JAVA, PHP etc) when certain message > is received or in any other way do something when a message is received? > > I don't want to hang consumer on the activemq so it waits for the msg > itself.
So you'd write programs in some language (C#, Java, PHP) which consume messages from a queue - and your program would invoke whatever code you like. Typically ActiveMQ itself doesn't invoke things - your consumer program consumes messages then invokes code. You might have 1000 programs running on hundreds of servers - with a single ActiveMQ broker dispatching messages to them for example. -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/