Most if not all of the standard smx components have the targetService attribute that you can configure in the xbean.xml.

I might be misunderstanding your problem... :)

beppe82 wrote:
Hi, I have a SE created via mvn archetype and the correspondent SU. How can I
do to specify in the SU that I want the messages sent to a certain
component? I don't want to hard code the destination like in:

InOnly ex = exchangeFactory.createInOnlyExchange();
ex.setService(new QName("http://giuseppe.org";, "xmlsingleelab", "beppe"));

What I want is to configure my own SU like, for example, the ftp component
provided with ServiceMix, which can contain a "targetService="...."
attribute.
Thanks

Reply via email to