Hi 

I want to send the message to a remote queue through a static routing slip
service. Th XML of routing slipservice is 

<beans xmlns:eip="http://servicemix.apache.org/eip/1.0";
       xmlns:test="http://test";>
                                                
  <eip:static-routing-slip service="test:aRoutingSlipService"
endpoint="aRoutingSlipSu">
    <eip:targets>
      <eip:exchange-target service="test:CCVPojoService"
endpoint="ccvPojoSu"/>
      <eip:exchange-target service="test:ConnectorPojoService"
endpoint="connectorPojoSu"/>
      <eip:exchange-target service="test:ExternalCCVService"
endpoint="externalCCVSu"/>      
    </eip:targets>
  </eip:static-routing-slip>
  
 
</beans>

and the xbean XML for externalCCVService is 

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
       xmlns:test="http://test";
       xmlns:amq="http://activemq.org/config/1.0";>

    <!-- START SNIPPET: provider -->
         <jms:endpoint service="test:ExternalCCVService"
                  endpoint="queue/CCVA"
                  role="provider" 
                  destinationStyle="queue"
                  jmsProviderDestinationName="queue/CCV"
                  connectionFactory="#connectionFactory"/>


    <amq:connectionFactory id="connectionFactory"
brokerURL="tcp://osaserviceproviders.osaccvpoc.com:61616" />

</beans>


When I try to run the client I get the following exception in the log. I am
attaching the full log file.


javax.jms.JMSException: java.io.EOFException
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
        at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1206)
        at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1644)
        at
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:227)
        at
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
        at
org.apache.servicemix.jms.multiplexing.MultiplexingProviderProcessor.process(MultiplexingProviderProcessor.java:150)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        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)
Caused by: java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:358)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:203)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:195)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
        ... 1 more http://www.nabble.com/file/p18728643/Servicemix.log
Servicemix.log 

Please help. 

Thanks
-Sonia
-- 
View this message in context: 
http://www.nabble.com/javax.jms.JMSException%3A-java.io.EOFException-tp18728643p18728643.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to