|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
SE-EIP in routing modeHi,
I'm trying to use the SE-EIP in routing-slip mode with another components. However, I've got errors: It seems that the SE-EIP does not find my component when just I just put the interface. When I put the interface, the service-name and the endpoint-name, there is no problem. Here is my jbi.xml: <?xml version="1.0" encoding="UTF-8"?> <jbi:jbi version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:petals_ext="http://petals.ow2.org/extensions" xmlns:jbi="http://java.sun.com/xml/ns/jbi" xmlns:petals="http://petals.ow2.org/extensions" xmlns:eip="http://petals.objectweb.org/extensions/eip/" xmlns:extensions="http://petals.objectweb.org/extensions"> <jbi:services binding-component="false"> <jbi:provides interface-name="petals_ext:EIPInterface-A" service-name="petals_ext:EIPService-A" endpoint-name="EIPEndpoint-A"> <petals_ext:params> <petals_ext:param name="eip">routing-slip</petals_ext:param> </petals_ext:params> <petals_ext:timeout></petals_ext:timeout> <petals_ext:wsdl></petals_ext:wsdl> <petals_ext:su-interceptors></petals_ext:su-interceptors> </jbi:provides> <jbi:consumes interface-name="petals_ext:xx"> <petals_ext:mep>InOptionalOut</petals_ext:mep> <petals_ext:operation></petals_ext:operation> <petals_ext:timeout>0</petals_ext:timeout> <petals_ext:su-interceptors></petals_ext:su-interceptors> <petals_ext:params></petals_ext:params> </jbi:consumes> <jbi:consumes interface-name="petals_ext:soapInterface-A"> <petals_ext:mep>InOptionalOut</petals_ext:mep> <petals_ext:operation>get</petals_ext:operation> <petals_ext:timeout>0</petals_ext:timeout> <petals_ext:su-interceptors></petals_ext:su-interceptors> <petals_ext:params></petals_ext:params> </jbi:consumes> </jbi:services> </jbi:jbi> And here is my exception; [petals.container.components.petals-se-eip] forward exchange to : itf={http://petals.ow2.org/extensions}soapInterface-A / srv=null / ep=null [petals.Container] org.ow2.petals.jbi.messaging.routing.RoutingException: No endpoint found for the specified interface : {http://petals.ow2.org/extensions}soapInterface-A. javax.jbi.messaging.MessagingException: org.ow2.petals.jbi.messaging.routing.RoutingException: No endpoint found for the specified interface : {http://petals.ow2.org/extensions}soapInterface-A. at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendExchange(DeliveryChannelImpl.java:329) at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:258) at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:425) at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:485) at org.ow2.petals.se.eip.patterns.RoutingSlip.process(RoutingSlip.java:76) at org.ow2.petals.se.eip.patterns.AbstractPattern.processPattern(AbstractPattern.java:71) at org.ow2.petals.se.eip.listener.JBIListener.process(JBIListener.java:68) at org.ow2.petals.se.eip.listener.JBIListener.onJBIMessage(JBIListener.java:51) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processInOptionalOutAsProvider(MessageExchangeProcessor.java:415) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:353) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.process(MessageExchangeProcessor.java:267) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.run(MessageExchangeProcessor.java:118) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.ow2.petals.jbi.messaging.routing.RoutingException: No endpoint found for the specified interface : {http://petals.ow2.org/extensions}soapInterface-A. at org.ow2.petals.jbi.messaging.routing.AddressResolver.getTargetedEndpointFromGivenInterfaceName(AddressResolver.java:315) at org.ow2.petals.jbi.messaging.routing.AddressResolver.resolveAddress(AddressResolver.java:156) at org.ow2.petals.jbi.messaging.routing.RouterImpl.sendToProvider(RouterImpl.java:350) at org.ow2.petals.jbi.messaging.routing.RouterImpl.sendSync(RouterImpl.java:157) at org.objectweb.fractal.julia.generated.Cf172ea52_0.sendSync(INTERCEPTOR[Router]) at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router]) at org.ow2.petals.monitoring.router.RouterMonitorImpl.sendSync(RouterMonitorImpl.java:172) at org.objectweb.fractal.julia.generated.Cf172ea52_0.sendSync(INTERCEPTOR[Router]) at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router]) at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendExchange(DeliveryChannelImpl.java:323) ... 14 more javax.jbi.messaging.MessagingException: javax.jbi.messaging.MessagingException: org.ow2.petals.jbi.messaging.routing.RoutingException: No endpoint found for the specified interface : {http://petals.ow2.org/extensions}soapInterface-A. at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:287) at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:425) at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:485) at org.ow2.petals.se.eip.patterns.RoutingSlip.process(RoutingSlip.java:76) at org.ow2.petals.se.eip.patterns.AbstractPattern.processPattern(AbstractPattern.java:71) at org.ow2.petals.se.eip.listener.JBIListener.process(JBIListener.java:68) at org.ow2.petals.se.eip.listener.JBIListener.onJBIMessage(JBIListener.java:51) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processInOptionalOutAsProvider(MessageExchangeProcessor.java:415) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:353) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.process(MessageExchangeProcessor.java:267) at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.run(MessageExchangeProcessor.java:118) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: javax.jbi.messaging.MessagingException: org.ow2.petals.jbi.messaging.routing.RoutingException: No endpoint found for the specified interface : {http://petals.ow2.org/extensions}soapInterface-A. at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendExchange(DeliveryChannelImpl.java:329) at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:258) ... 13 more Caused by: org.ow2.petals.jbi.messaging.routing.RoutingException: No endpoint found for the specified interface : {http://petals.ow2.org/extensions}soapInterface-A. at org.ow2.petals.jbi.messaging.routing.AddressResolver.getTargetedEndpointFromGivenInterfaceName(AddressResolver.java:315) at org.ow2.petals.jbi.messaging.routing.AddressResolver.resolveAddress(AddressResolver.java:156) at org.ow2.petals.jbi.messaging.routing.RouterImpl.sendToProvider(RouterImpl.java:350) at org.ow2.petals.jbi.messaging.routing.RouterImpl.sendSync(RouterImpl.java:157) at org.objectweb.fractal.julia.generated.Cf172ea52_0.sendSync(INTERCEPTOR[Router]) at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router]) at org.ow2.petals.monitoring.router.RouterMonitorImpl.sendSync(RouterMonitorImpl.java:172) at org.objectweb.fractal.julia.generated.Cf172ea52_0.sendSync(INTERCEPTOR[Router]) at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router]) at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendExchange(DeliveryChannelImpl.java:323) ... 14 more I'm using quickstart-2.1.1, the revision 8193 for the BC-SOAP and the latest from svn for the SE-EIP. If you have any idea it would be great! Best regards, Khanh Tuong Maudoux |
| Free Forum Powered by Nabble | Forum Help |