activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Mielke (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-3283) Support for transactions broken in maven-activemq-perf-plugin
Date Fri, 15 Apr 2011 15:19:05 GMT

     [ https://issues.apache.org/jira/browse/AMQ-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Torsten Mielke updated AMQ-3283:
--------------------------------

    Attachment: AMQ-3283.patch

I am attaching a possible fix for this bug. 
When setting producer.sessTransacted|consumer.sessionTransacted it will commit the transaction.

I further introduced a new configuration property called commitAfterXMsgs which tells after
how many msgs to commit the transaction (as opposed to after every msg).

So two new properties that need to be documented:

producer.commitAfterXMsgs
consumer.commitAfterXMsgs

Once the patch is merged, I can update the plugin docs.


> Support for transactions broken in maven-activemq-perf-plugin
> -------------------------------------------------------------
>
>                 Key: AMQ-3283
>                 URL: https://issues.apache.org/jira/browse/AMQ-3283
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Performance Test
>    Affects Versions: 5.5.0
>         Environment: maven-activemq-perf-plugin with transaction support, Java 6, any
OS
>            Reporter: Torsten Mielke
>              Labels: performance
>             Fix For: 5.6.0
>
>         Attachments: AMQ-3283.patch
>
>
> The doc of the [maven-activemq-perf-plugin|http://activemq.apache.org/activemq-performance-module-users-manual.html]
lists these options:
> producer.sessTransacted
> consumer.sessTransacted
> However they don't work. Nowhere in the code is a commit() for the transaction. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message