Hi , I have the following model working with servicemix on JBoss 4.2.2 :
> jms-sm.xml file in deploy (deployed by servicemix-jboss-deployer) <?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> <!-- Binding component --> <sm:activationSpec> <sm:component> <jms:component> <jms:endpoints> <jms:endpoint service="test:MyConsumerService" endpoint="endpoint" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" role="consumer" destinationStyle="queue" jmsProviderDestinationName="1SFW.TWKS.REQUEST" processorName="standard" connectionFactory="#connectionFactory" /> </jms:endpoints> </jms:component> </sm:component> </sm:activationSpec> <!--Service engine component --> <sm:activationSpec componentName="MyConsumerService" service="test:MyConsumerService"> <sm:component> <bean class="com.my.cib.servicemix.ListenerBean" /> </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="eis-qmld001-01.usa.my.net" /> <property name="channel" value="1SWF.CLIENT2" /> <property name="port" value="60001" /> </bean> </beans> > mycomponents.jar in lib (Transformer custom component referred to by the > above configuration) Now, I want to combine the deployment to make one archive, and I think the following is the way to go : mycomponents.jar meta-inf/jbi.xml (above jms-sm.xml renamed) lib/*.jars (dependent jars) classes/.. (Transformer custom component ) I created the above and deployed but the servicemix-jboss-deployer is unable to deploy it . 1. Is the above jar structure valid for servicemix deployment 2. Will the jbi.xml be the same as jms-sm.xml or it needs a different config ? 3. Can jbi.xml configuration be spring based ? Appreciate any help -- View this message in context: http://www.nabble.com/Jboss-deployer-and-jbi.xml-tp14406690s12049p14406690.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
