onCommand is used to process command messages after they've been unmarshalled off the wire... what are you trying to do specifically?
On Mon, May 5, 2014 at 10:31 PM, Charels_Li <iamle...@gmail.com> wrote: > Hi guys. > > I am using failover protocol with static discovery, along with > TransportListerner for transfer/failover detection. > There is an onCommand() method. I understand this method delivers transport > info and on consumer side is used to count messages received. > > Are there some typical usage beyond these? I can hardly find any document on > it. I am thinking to pump in some command to brokers/clients. Is it > possible? > > Thanks! > > Charlie > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/TransportListerner-onCommand-tp4680911.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta