You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2011/04/15 17:09:05 UTC

[jira] [Created] (AMQ-3283) Support for transactions broken in maven-activemq-perf-plugin

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
            Reporter: Torsten Mielke




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

[jira] [Commented] (AMQ-3283) Support for transactions broken in maven-activemq-perf-plugin

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020341#comment-13020341 ] 

Dejan Bosanac commented on AMQ-3283:
------------------------------------

Thanks!

> 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
>            Assignee: Dejan Bosanac
>              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

[jira] [Updated] (AMQ-3283) Support for transactions broken in maven-activemq-perf-plugin

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

          Component/s: Performance Test
          Description: 
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. 


           Patch Info: [Patch Available]
          Environment: maven-activemq-perf-plugin with transaction support, Java 6, any OS
    Affects Version/s: 5.5.0
        Fix Version/s: 5.6.0
               Labels: performance  (was: )

> 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
>
>
> 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

[jira] [Updated] (AMQ-3283) Support for transactions broken in maven-activemq-perf-plugin

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Resolved] (AMQ-3283) Support for transactions broken in maven-activemq-perf-plugin

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-3283.
--------------------------------

    Resolution: Fixed
      Assignee: Dejan Bosanac

Patch applied with svn revision 1092753

> 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
>            Assignee: Dejan Bosanac
>              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

[jira] [Issue Comment Edited] (AMQ-3283) Support for transactions broken in maven-activemq-perf-plugin

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020320#comment-13020320 ] 

Torsten Mielke edited comment on AMQ-3283 at 4/15/11 3:21 PM:
--------------------------------------------------------------

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). This property defaults to 1 and is only used in conjunction with a transaction.

So two new properties that need to be documented:

producer.commitAfterXMsgs
consumer.commitAfterXMsgs

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


      was (Author: tmielke):
    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