Hi,

I am using ServiceMix 4.0, getting strange problem.

In spring file 'jms:consumer' is NOT working. Below is the defination.
    <jms:consumer service="ns:JMSConsumerService"
     endpoint="jms"
     targetService="ns:beanService"                                           
     targetEndpoint="endpoint"             
     destinationName="mybroker"     
     connectionFactory="#connectionFactory" />

But 'jms:endpoint' is working. Below is the defination
 <jms:endpoint service="ns:JMSConsumerService"
              endpoint="jms"
              targetService="ns:beanService"
              targetEndpoint="endpoint"
              role="consumer" 
              destinationStyle="queue"
              jmsProviderDestinationName="mybroker"
              connectionFactory="#connectionFactory"  />

In console of servicemix/osgi, it is showing like this for 'jms:consumer'.
[ 229] [Active     ] [Failed ] [   60] osgi-sample (1.0.0)

Here '[Failed ] ' is from 'spring' header.

I have check with 'servicemix.apache.org/jms/1.0/servicemix-jms.xsd'.  This
says 'jms:consumer'  is spring based endpoint and 'jms:endpoint' is
NON-Spring endpoint.

Moreover I have added following bean defination at the begining of the file
    <!-- use this special class to register the endpoints with the NMR -->
    <bean class="org.apache.servicemix.common.osgi.EndpointExporter" />

Could you please let me know the reason for this.  And let me know the fix
for this.

Similarly 'ftp:poller'  and 'ftp:sender' is not working. 
Here also please let me know the fix.

Onemore thing.
How to get the more info(any error message) for [Failed] for
[ 229] [Active     ] [Failed ] [   60] osgi-sample (1.0.0)
in servicemix/osgi console


Thanks in advance.

-Prakash


-- 
View this message in context: 
http://old.nabble.com/In-Servicemix-4.0%2C-jms%3Aconsumer-is-NOT-working%2C-but-jms%3Aendpoint-is-working.-Why--tp27767991p27767991.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to