Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ack mode to be specified in non-transactional MDBs #47

Open
glassfishrobot opened this issue Sep 28, 2010 · 4 comments
Open

Allow ack mode to be specified in non-transactional MDBs #47

glassfishrobot opened this issue Sep 28, 2010 · 4 comments

Comments

@glassfishrobot
Copy link

According to the EJB 3.0 specification, if bean-managed transaction demarcation
is being used it should be possible to configure the acknowledgement mode
required. This is not currently possible in GenericJMSRA.

From the EJB 3.0 Core spec (Section 5.4.14 "Message Acknowledgment for JMS
Message-Driven Beans"):

"If bean-managed transaction demarcation is used, the Bean Provider can indicate
whether JMS AUTO_ACKNOWLEDGE semantics or DUPS_OK_ACKNOWLEDGE semantics should
apply by using the activationConfig element of the MessageDriven annotation or
by using the activation-config-property deployment descriptor element. The
property name used to specify the acknowledgment mode is acknowledgeMode. If the
acknowledgeMode property is not specified, JMS AUTO_ACKNOWLEDGE semantics are
assumed. The value of the acknowledgeMode property must be either
Auto-acknowledge or Dups-ok-acknowledge for a JMS message-driven bean."

In addition, although the EJB 3.0 spec is not specific on this matter, it should
be possible to use the same configuration to specify the acknowledge mode used
when a MDB is deployed using CMT and the transactional attribute is notSupported.

Environment

Operating System: All
Platform: All

Affected Versions

[2.1a]

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by nigeldeakin

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Was assigned to liang.x.zhao

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA GENERICJMSRA-47

@glassfishrobot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant