I have done this while defining my jms consumer:
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
       xmlns:up="http://servicemix.in2m.com/operations/updateprofile";
       xmlns:amq="http://activemq.org/config/1.0";>

    <jms:consumer service="up:DirectorConsumerService"
                  endpoint="directorConsumerEndpoint"
                                  targetService="up:DirectorConsumerService"
                                  clientId="Director"
                                  pubSubDomain="true"
                                  subscriptionDurable="true"
                  destinationName="updateUserProfileTopic"
                  connectionFactory="#connectionFactory" 
                                  messageSelector="userPrincipals NOT LIKE 
'%director%'"
                                  cacheLevel="2"
                          transacted="jms"/>    
    <amq:connectionFactory id="connectionFactory"
brokerURL="tcp://localhost:61616" />

</beans>
-- 
View this message in context: 
http://www.nabble.com/Does-using-transactions-on-jms-consumer-lowers-the-performance--tp20104331p20106270.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to