I am trying to get a simple camel wiretap service unit working. I would really like it to be configured using the xbean syntax like all the other service unit examples I have seen, but I have not had any luck, can't find an example of doing this, and can't get the mvn archetype working. Can someone please show me an example of setting this up?
My goal was to port the eip wiretap example to camel. The service units from the eip example are as follows: EIP SU: <beans xmlns:eip="http://servicemix.apache.org/eip/1.0" xmlns:tut="urn:servicemix:tutorial"> <eip:wire-tap service="tut:wiretap" endpoint="endpoint"> <eip:target> <eip:exchange-target service="tut:jms" /> </eip:target> <eip:inListener> <eip:exchange-target service="tut:file" endpoint="sender" /> </eip:inListener> </eip:wire-tap> </beans> File SU: <beans xmlns:file="http://servicemix.apache.org/file/1.0" xmlns:tut="urn:servicemix:tutorial"> <file:sender service="tut:file" endpoint="sender" directory="file:///C:/projects/data/sender" /> <file:poller service="tut:file" endpoint="poller" file="file:///C:/projects/data/poller" targetService="tut:wiretap"/> </beans> JMS SU: <beans xmlns:jms="http://servicemix.apache.org/jms/1.0" xmlns:tut="urn:servicemix:tutorial" xmlns:amq="http://activemq.org/config/1.0"> <jms:endpoint service="tut:jms" endpoint="myQueue" role="provider" destinationStyle="queue" jmsProviderDestinationName="queue/tutorial" connectionFactory="#connectionFactory"/> <amq:connectionFactory id="connectionFactory" brokerURL="tcp://localhost:61616" /> </beans> -- View this message in context: http://www.nabble.com/Camel-xbean-help-tf4596457s12049.html#a13123145 Sent from the ServiceMix - User mailing list archive at Nabble.com.
