Configuring SonicMQ

22 Jul 2015 - 07:23 | Version 8 | | ,
An example of a configuration for Sonic SonicMQ is shown below.
 <bean id="jmsXAConnectionFactory"
       class="progress.message.jclient.xa.XAQueueConnectionFactory">
        <property name="brokerURL" value="tcp://hostname:2510"/>
        <property name="defaultUser" value="username"/>
        <property name="defaultPassword" value="pwd"/>
    </bean>

    <bean id="jmsConnectionFactory"
          class="com.atomikos.jms.AtomikosConnectionFactoryBean" 
                 init-method="init" destroy-method="close">
        <property name="xaConnectionFactory" ref="jmsXAConnectionFactory"/>
        <property name="uniqueResourceName" value="SonicMQ"/>
    </bean>

    <bean id="jmsQueue" class="progress.message.jclient.Queue">
        <constructor-arg value="MyQueue"/>
    </bean>

Contact Us

Atomikos Corporate Headquarters
Hoveniersstraat, 39/1, 2800
Mechelen, Belgium

E info@atomikos.com
E sales@atomikos.com
T +3215613055

Subscribe to our newsletter

Never miss an update

Copyright 2016 Atomikos BVBA