How can I create a service unit to use the drools rules engine? Please share
the maven archetype and, if possible, an example
My JMS client is cnfigured with servicemix drool SU. I am getting following
error.
Please advise.
Here is the details of error:
10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | DefaultBroker
| rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName
({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but
can't find it registered
10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | DefaultBroker
| rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName
({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but
can't find it registered
10:13:49,928 | ERROR | pool-component.servicemix-jms-thread-2 |
plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error while
handling jms message
javax.jbi.messaging.MessagingException: Could not find route for exchange:
InOut[
id: ID:169.254.185.179-1133f6208c3-5:0
status: Active
role: provider
service: {urn:logicblaze:soa:loanbroker}myDroolsService
operation: Hello
in: <?xml version="1.0" encoding="UTF-8"?><HelloRequest
xmlns="urn:/HelloWorld2.wsdl"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<hello>Hello from Vishal - </hello>
</HelloRequest>
] for service: {urn:logicblaze:soa:loanbroker}myDroolsService and interface:
null
at
org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295)
at
org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81)
at
org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:793)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:381)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:417)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.sendConsumerExchange(AsyncBaseLifeCycle.java:572)
at
org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:98)
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)
[ Show ยป ] Jawed Khan [18/Jun/07 08:27 AM] Here is the details of error:
10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | DefaultBroker
| rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName
({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but
can't find it registered 10:13:49,928 | WARN |
pool-component.servicemix-jms-thread-2 | DefaultBroker |
rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName
({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but
can't find it registered 10:13:49,928 | ERROR |
pool-component.servicemix-jms-thread-2 | plexingConsumerProcessor |
ultiplexingConsumerProcessor$1 100 | Error while handling jms message
javax.jbi.messaging.MessagingException: Could not find route for exchange:
InOut[ id: ID:169.254.185.179-1133f6208c3-5:0 status: Active role: provider
service: {urn:logicblaze:soa:loanbroker}myDroolsService operation: Hello in:
<?xml version="1.0" encoding="UTF-8"?><HelloRequest
xmlns="urn:/HelloWorld2.wsdl"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <hello>Hello from
Vishal - </hello> </HelloRequest> ] for service:
{urn:logicblaze:soa:loanbroker}myDroolsService and interface: null at
org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295)
at
org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81)
at
org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:793)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:381)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:417)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.sendConsumerExchange(AsyncBaseLifeCycle.java:572)
at
org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:98)
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)
Thanks,
Prasanta
--
View this message in context:
http://www.nabble.com/servicemix-Drool-engine-Issue-tf3942025s12049.html#a11181366
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.