On Tue, Jun 17, 2008 at 6:37 AM, pratibhaG <[EMAIL PROTECTED]> wrote:
>
> I have servicemix-camel 3.2.2 snapshot in my ServiceMix 3.2.1 instance. I
> have following message flow for a use case:
>
> Http-BC(consumer) --> Camel-SU --> Bean SU
> |
> |
> JMS Provider -BC(topic)
> |
> JMS Consumer-BC(topic)
>
> Camel-SU implements wire-tap pattern. Sends message to JMS Provider and then
> to Bean SU. JMS Provider put message on a topic which is subscribed by JMS
> Consumer.
>
> Camel-context file is as follows:
>
> <route>
> <from
> uri="jbi:service:http://servicemix.in2m.com/operations/updateprofile/routingService"/>
> <to
> uri="jbi:service:http://servicemix.in2m.com/operations/updateprofile/JMSProviderService"/>
> <to
> uri="jbi:service:http://servicemix.in2m.com/operations/updateprofile/BeanService?mep=in-out"/>
> </route>
>
> Since I configured ServiceMix with Servicemix-Camel 3.2.2 snapshot it is
> giving following errors:
>
> DEBUG - DeliveryChannelImpl - Waiting for exchange
> ID:192.168.2.53-11a921db1dd-10:0 (1492721) to be answered in
> DeliveryChannel{servicemix-camel} from sendSync
> DEBUG - SedaQueue -
> [EMAIL PROTECTED] dequeued
> exchange: InOut[
> id: ID:192.168.2.53-11a921db1dd-10:0
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/updateprofile}routingService
> endpoint: camel192-168-2-53-11a921db1dd-20-1
> in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com">
> <updateUserProfile>
> <lastName>shaggy</lastName>
> <firstName>sha</firstName>
> <userName>testhh</userName>
> <emailAddress>[EMAIL PROTECTED]</emailAddress>
> </updateUserProfile>
> </request>
> ]
> DEBUG - CamelJbiComponent - Received exchange: status: Active,
> role: provider
> DEBUG - CamelJbiComponent - Retrieved correlation id: null
> DEBUG - CamelJbiEndpoint - Received exchange: InOut[
> id: ID:192.168.2.53-11a921db1dd-10:0
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/updateprofile}routingService
> endpoint: camel192-168-2-53-11a921db1dd-20-1
> in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com">
> <updateUserProfile>
> <lastName>shaggy</lastName>
> <firstName>sha</firstName>
> <userName>testhh</userName>
> <emailAddress>[EMAIL PROTECTED]</emailAddress>
> </updateUserProfile>
> </request>
> ]
> DEBUG - DeliveryChannelImpl - SendSync
> ID:192.168.2.53-11a921db1dd-10:1 in DeliveryChannel{servicemix-camel}
> DEBUG - SedaFlow - Called Flow send
> DEBUG - DeliveryChannelImpl - Waiting for exchange
> ID:192.168.2.53-11a921db1dd-10:1 (19ca1fb) to be answered in
> DeliveryChannel{servicemix-camel} from sendSync
> DEBUG - SedaQueue -
> [EMAIL PROTECTED] dequeued
> exchange: InOut[
> id: ID:192.168.2.53-11a921db1dd-10:1
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/updateprofile}JMSProviderService
> endpoint: JMSProviderEndpoint
> in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com">
> <updateUserProfile>
> <lastName>shaggy</lastName>
> <firstName>sha</firstName>
> <userName>testhh</userName>
> <emailAddress>[EMAIL PROTECTED]</emailAddress>
> </updateUserProfile>
> </request>
> ]
> DEBUG - JmsComponent - Received exchange: status: Active,
> role: provider
> DEBUG - JmsComponent - Retrieved correlation id: null
> DEBUG - JmsTemplate - Executing callback on JMS Session
> [ActiveMQSession {id=ID:rsandeep-48368-1213632160967-3:63:1,started=true}]
> ERROR - JmsComponent - Error processing exchange InOut[
> id: ID:192.168.2.53-11a921db1dd-10:1
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/updateprofile}JMSProviderService
> endpoint: JMSProviderEndpoint
> in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com">
> <updateUserProfile>
> <lastName>shaggy</lastName>
> <firstName>sha</firstName>
> <userName>testhh</userName>
> <emailAddress>[EMAIL PROTECTED]</emailAddress>
> </updateUserProfile>
> </request>
> out: null
> ]
> java.lang.IllegalStateException: Unable to choose replyDestination for
> exchange InOut[
> id: ID:192.168.2.53-11a921db1dd-10:1
> status: Active
> role: provider
> service:
> {http://servicemix.in2m.com/operations/updateprofile}JMSProviderService
> endpoint: JMSProviderEndpoint
> in: <?xml version="1.0" encoding="UTF-8"?><request
> xmlns="http://www.finicity.com">
> <updateUserProfile>
> <lastName>shaggy</lastName>
> <firstName>sha</firstName>
> <userName>testhh</userName>
> <emailAddress>[EMAIL PROTECTED]</emailAddress>
> </updateUserProfile>
> </request>
> out: null
> ]
> at
> org.apache.servicemix.jms.endpoints.JmsProviderEndpoint.getReplyDestination(JmsProviderEndpoint.java:462)
It looks to me like the JMS provider is trying to send the response
and it has no replyDestination. Please post JMS provider's xbean.xml
configuration file.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Blog: http://bruceblog.org/