activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fritz Oconer" <foco...@exist.com>
Subject Re: steps to publish to a topic for BrokerFilter-based classes?
Date Thu, 07 Dec 2006 03:00:53 GMT
Hi Patrick,

What I could suggest is to use JmsTemplate to send messages and possibly 
Spring based configurations. See unit test SpringTest.java and 
SpringProducer.java located in 
"${activemq.source.home}\activemq-core\src\test\java\org\apache\activemq\spring\ 
" for reference.

Regards,
Fritz

----- Original Message ----- 
From: "J. Patrick Bedell" <jpbedell@gmail.com>
To: <activemq-dev@geronimo.apache.org>
Sent: Thursday, December 07, 2006 7:04 AM
Subject: steps to publish to a topic for BrokerFilter-based classes?


> Hello,
>   I'm working on a Broker interceptor class that extends BrokerFilter.
>   After processing an incoming message, I would like to publish to a
> topic that is determined from the content of the message.
>   My question is: is there a quicker way to publish to a topic from a
> Broker than the standard method a client uses to publish (getting
> connection, TopicSession, TopicPublisher, and then using the
> TopicPublisher to publish)?
>   Thanks!
>
> -- 
>   J. Patrick Bedell
>   jpbedell@gmail.com
>   http://infoeng.sourceforge.net
>   http://rothbardix.blogspot.com 


Mime
View raw message