[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] [Comment Edited] (AMQ-1126) The Resource Adapter ignores the JMSXGroupID when dispatching to 
From:       "Tamas Cserveny (JIRA)" <jira () apache ! org>
Date:       2014-10-28 12:49:34
Message-ID: JIRA.12483342.1168627888000.353273.1414500574446 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/AMQ-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186769#comment-14186769 \
] 

Tamas Cserveny edited comment on AMQ-1126 at 10/28/14 12:49 PM:
----------------------------------------------------------------

I was able to get this running 5.10 RAR using maxSessions=1 and creating the desired \
amount of MDBs. (Prefetch can be set to higher than 1.)

Still the grouping is not honoured in case of errors, in order to solve that, you \
need the solution for this: AMQ-5400


was (Author: smil):
I was able to get this running 5.10 RAR using maxSessions=1 and creating the desired \
amount of MDBs.

Still the grouping is not honoured in case of errors, in order to solve that, you \
need the solution for this: AMQ-5400

> The Resource Adapter ignores the JMSXGroupID when dispatching to MDBs
> ---------------------------------------------------------------------
> 
> Key: AMQ-1126
> URL: https://issues.apache.org/jira/browse/AMQ-1126
> Project: ActiveMQ
> Issue Type: Bug
> Components: JCA Container
> Affects Versions: 4.0.1
> Environment: Java 1.4.2_08
> JBoss 4.0.4
> ActiveMQ 4.0.1
> Reporter: John Robinson
> Fix For: NEEDS_REVIEW
> 
> Attachments: amq_reproducer.zip, msg-group-test.zip
> 
> 
> Integrate AMQ into JBoss using the data source, and resource adapter.  Create an \
> outbound queue and an MDB with a pool size of 100.  Dispatch several messages to \
> the outbound queue, setting the JMSXGroupID property on the message to be the same \
> value each time.  In the MDB's onMessage method print out the MDBs toString (don't \
> override toString) and you should see something that looks like: \
> OutQueueProcessorBean@19a7266 Observe two things:
> a) Many messages are processed in parallel
> b) Many different values will occur after the @ in the above message, denoting that \
> more than on MDB instance is being handed messages. The correct behavior would be \
> to dispatch messages with the same group id to the same MDB instance in sequence.  \
> This would allow messages from different groups to be processed in parallel, but \
> messages in any one group would be processed serially, in the order in which they \
> were placed into the queue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic