Yes, that's what it was... Thanks, Gert.

Vlad



Gert Vanthienen wrote:
> 
> Vlad,
> 
> It looks like you might have forgotten to add the new tutorial-eip-su 
> and tutorial-jms-su to the tutorial-sa's pom.xml as a <dependency/>
> 
> Gert
> 
> Vlad Olenin wrote:
>> Hi,
>>
>> I'm having a problem with section 2.6 of 'beginner exercise' (
>> http://servicemix.apache.org/26-beginner-exercise.html). I followed the
>> tutorial up to this point, got the file moved from one directory to the
>> other. Now that I try to implement a wiretap, I'm getting a runtime
>> exception when the ServiceMix is trying to move the file. Was following
>> the
>> tutorial 'word-for-word'...
>>
>> Has anyone ran into the same problem?... The exception trace is below.
>>
>> Thanks,
>>
>> Vlad
>>
>> -----------------
>> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
>> tutorial-sa
>> INFO  - ServiceUnitLifeCycle           - Initializing service unit:
>> tutorial-file-su
>> INFO  - ServiceUnitLifeCycle           - Starting service unit:
>> tutorial-file-su
>> WARN  - FileComponent                  - Target service
>> ({urn:servicemix:tutorial}wiretap) and endpoint (endpo
>> int) specified, but no matching endpoint found.  Only the service will be
>> used for routing.
>> WARN  - DefaultBroker                  - ServiceName
>> ({urn:servicemix:tutorial}wiretap) specified for routing,
>>  but can't find it registered
>> WARN  - DefaultBroker                  - ServiceName
>> ({urn:servicemix:tutorial}wiretap) specified for routing,
>>  but can't find it registered
>> ERROR - FileComponent                  - Failed to process file:
>> c:\temp\input\test.xml. Reason: javax.jbi.mes
>> saging.MessagingException: Could not find route for exchange: InOnly[
>>   id: ID:142.148.16.91-116e90b1c95-27:0
>>   status: Active
>>   role: provider
>>   service: {urn:servicemix:tutorial}wiretap
>>   in: <?xml version="1.0" encoding="UTF-8"?><myTestXml>
>>   <testTag>xxx</testTag>
>> </myTestXml>
>> ] for service: {urn:servicemix:tutorial}wiretap and interface: null
>> javax.jbi.messaging.MessagingException: Could not find route for
>> exchange:
>> InOnly[
>>   id: ID:142.148.16.91-116e90b1c95-27:0
>>   status: Active
>>   role: provider
>>   service: {urn:servicemix:tutorial}wiretap
>>   in: <?xml version="1.0" encoding="UTF-8"?><myTestXml>
>>   <testTag>xxx</testTag>
>> </myTestXml>
>> ] for service: {urn:servicemix:tutorial}wiretap and interface: null
>>         at
>> org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(
>> DefaultBroker.java:297)
>>         at
>> org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(
>> SecuredBroker.java:81)
>>         at org.apache.servicemix.jbi.container.JBIContainer.sendExchange(
>> JBIContainer.java:830)
>>         at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(
>> DeliveryChannelImpl.java:395)
>>         at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(
>> DeliveryChannelImpl.java:470)
>>         at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(
>> DeliveryChannelImpl.java:442)
>>         at org.apache.servicemix.common.EndpointDeliveryChannel.sendSync(
>> EndpointDeliveryChannel.java:95)
>>         at
>> org.apache.servicemix.common.endpoints.SimpleEndpoint.sendSync(
>> SimpleEndpoint.java:71)
>>         at org.apache.servicemix.file.FilePollerEndpoint.processFile(
>> FilePollerEndpoint.java:282)
>>         at
>> org.apache.servicemix.file.FilePollerEndpoint.processFileAndDelete(
>> FilePollerEndpoint.java:253)
>>         at org.apache.servicemix.file.FilePollerEndpoint$1.run(
>> FilePollerEndpoint.java:231)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:650)
>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:675)
>>         at java.lang.Thread.run(Thread.java:595)
>> ------------------
>>
>>   
> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: 
http://www.nabble.com/getting-exception-in-%27beginner-exercise%27---%22ServiceName-specified-for-routing%2C-but-can%27t-find-it-registered%22-tp14381032s12049p14400404.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to