how did you get jboss deployer?


dipali.kucheria wrote:
> 
> I have deployed JBoss-servicemix-deployer on JBoss 4.2.2. 
> I am trying to integrate with Websphere MQ as Consumer and have a POJO
> listen to the message .
> 
> I have following configuration in my deploy\*-sm.xml file :
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://xbean.org/schemas/spring/1.0";
>       xmlns:spring="http://xbean.org/schemas/spring/1.0";
>       xmlns:sm="http://servicemix.apache.org/config/1.0";
>       xmlns:jms="http://servicemix.apache.org/jms/1.0";
>       xmlns:bean="http://servicemix.apache.org/bean/1.0";      
>       xmlns:test="urn:test">
> 
>       <!-- the JBI container -->
>       <sm:container id="jbi" rmiPort="1009" createMBeanServer="false" >
>               <sm:activationSpecs>
> 
>                       <sm:activationSpec componentName="test:mqconnect" >
>                       <sm:component>
>                                 <jms:component>
>                           <jms:endpoints>
>                                               <jms:endpoint 
> service="test:MyConsumerService" 
>                                                       endpoint="jms"
>                                                       role="consumer"
>                                                       destinationStyle="queue"
>                                                       
> jmsProviderDestinationName="myqname"
>                                                       processorName="standard"
>                                                       
> connectionFactory="#connectionFactory" />
>                                       </jms:endpoints>
>                               </jms:component>
>                       </sm:component>
>               </sm:activationSpec>    
>               </sm:activationSpecs>
>       </sm:container>
> 
>    <bean id="connectionFactory"
> class="com.ibm.mq.jms.MQQueueConnectionFactory">
>      <property name="queueManager" value="QMLD001A" />
>      <property name="transportType" value="1" />
>      <property name="hostName" value="myhostname" />
>        <property name="channel" value="mychannel" />
>      <property name="port" value="60001" />
>    </bean> 
> 
>    <!-- POJO -->
>       <bean:endpoint service="test:MyConsumerService" bean="#listenerBean"/>
>       <bean id="listenerBean"
> class="com.wachovia.cib.servicemix.ListenerBean"/>
> 
> </beans>
> 
> Problem :
> When a message is put on the queue , I see that JBoss/servicemix picks it
> up, but it cannot redirect to the POJO :
> 
> 10:56:02,671 WARN  [DefaultBroker] ServiceName
> ({urn:test}MyConsumerService) specified for routing, but can't find it
> registered
> 10:56:02,671 ERROR [StandardConsumerProcessor] Error while handling jms
> message
> javax.jbi.messaging.MessagingException: Could not find route for exchange:
> InOut
> [
>   id: ID:114.19.6.163-116ceea4318-34:0
>   status: Active
>   role: provider
>   service: {urn:test}MyConsumerService
>   in: <?xml version="1.0" encoding="UTF-8"?><S:Envelope
> xmlns:S="http://schemas. ... 
> 
> Questions :
> 1. Is this a valid configuration ? i.e the bean endpoint can be defined
> here or should it be in its own SU/SA packaging ?
> 2. How do I define the urn/namespace for the bean endpoint ? 
> 3. Any other pointers please..
> 

-- 
View this message in context: 
http://www.nabble.com/JBoss-deployer-and-servicemix-bean-tp14300443p18617788.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to