You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by brijesh <br...@gmail.com> on 2009/09/30 19:40:19 UTC

maven archetype for generating jms-su with new endpoints

hi there, 

I need to generate jms su with new endpoints(jms-consumer and jms-provider
configured in same xbean) as follows 

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
       xmlns:esb="http://esbinaction.com/insurance">

  <jms:consumer service="esb:insuranceReceiver"
       endpoint="jmsEndpoint"
       targetService="esb:insuranceDSLRouter"
       destinationName="insurance.in"
       connectionFactory="#connectionFactory"
       marshaler="#InsuranceJMSMarshaler"/>
  
  <jms:provider service="esb:luxuryCarSender"
 	   endpoint="jmsEndpoint"
  	   destinationName="luxurycar.send"
  	   connectionFactory="#connectionFactory"/>

 <bean id="InsuranceJMSMarshaler"
class="esb.dzone.servicemix.util.InsuranceJMSMarshaler"/> 
  
  <bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="tcp://localhost:61616" />
  </bean>

</beans>


which maven archetype can be used to generate above mentioned jms su with
new endpoints? 
can anybody give me the command for generating it?

Regards
Brijesh N K


 
-- 
View this message in context: http://www.nabble.com/maven-archetype-for-generating-jms-su-with-new-endpoints-tp25685445p25685445.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: maven archetype for generating jms-su with new endpoints

Posted by Johan Edstrom <jo...@opennms.org>.
http://servicemix.apache.org/maven-archetypes.html

On Wed, Sep 30, 2009 at 11:40 AM, brijesh <br...@gmail.com> wrote:

>
> hi there,
>
> I need to generate jms su with new endpoints(jms-consumer and jms-provider
> configured in same xbean) as follows
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
>       xmlns:esb="http://esbinaction.com/insurance">
>
>  <jms:consumer service="esb:insuranceReceiver"
>       endpoint="jmsEndpoint"
>       targetService="esb:insuranceDSLRouter"
>       destinationName="insurance.in"
>       connectionFactory="#connectionFactory"
>       marshaler="#InsuranceJMSMarshaler"/>
>
>  <jms:provider service="esb:luxuryCarSender"
>           endpoint="jmsEndpoint"
>           destinationName="luxurycar.send"
>           connectionFactory="#connectionFactory"/>
>
>  <bean id="InsuranceJMSMarshaler"
> class="esb.dzone.servicemix.util.InsuranceJMSMarshaler"/>
>
>  <bean id="connectionFactory"
> class="org.apache.activemq.ActiveMQConnectionFactory">
>    <property name="brokerURL" value="tcp://localhost:61616" />
>  </bean>
>
> </beans>
>
>
> which maven archetype can be used to generate above mentioned jms su with
> new endpoints?
> can anybody give me the command for generating it?
>
> Regards
> Brijesh N K
>
>
>
> --
> View this message in context:
> http://www.nabble.com/maven-archetype-for-generating-jms-su-with-new-endpoints-tp25685445p25685445.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>