Pratibha

Looking at the code example in your other thread, you rather want an in-only exchange to go to the JMS endpoint (it's a wiretap, isn't it?). Be sure to rebuild servicemix-camel locally because you need the fix I pointed you to in the other thread. After that, just append ?mep=in-only to the jbi:service URI you use for addressing the JMSProviderService to force ServiceMix to use an in-only MEP.

Gert

Bruce Snyder wrote:
On Tue, Jun 17, 2008 at 9:53 PM, pratibhaG <[EMAIL PROTECTED]> wrote:
JMS provider xbean.xml configuration file.

<beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
      xmlns:hello="http://servicemix.in2m.com/operations/updateprofile";
      xmlns:amq="http://activemq.org/config/1.0";>

   <jms:provider service="hello:JMSProviderService"
                 endpoint="JMSProviderEndpoint"
                                 pubSubDomain="true"
                 destinationName="updateUserProfileTopic"
                 connectionFactory="#connectionFactory"/>

   <amq:connectionFactory id="connectionFactory"
brokerURL="tcp://localhost:61616" />

</beans>

As I suspected, there is no replyDestinationName attribute. This is
the reason for the error/exception because it's needed when dealing
with in-out MEPs.

Bruce

Reply via email to