Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EEF7E10B00 for ; Mon, 5 Jan 2015 07:20:34 +0000 (UTC) Received: (qmail 87798 invoked by uid 500); 5 Jan 2015 07:20:35 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 87770 invoked by uid 500); 5 Jan 2015 07:20:35 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 87756 invoked by uid 500); 5 Jan 2015 07:20:35 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 87752 invoked by uid 99); 5 Jan 2015 07:20:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2015 07:20:35 +0000 Date: Mon, 5 Jan 2015 07:20:35 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (TOMEE-1485) JMS 2.0 Provide JMSContext beans MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau resolved TOMEE-1485. --------------------------------------- Resolution: Invalid @John: this section is 100% about CDI. Right it is about "container" but it is ActiveMQ responsability. There is no reason to bind it to OpenEJB - opposed to JTA which was trivial cause we reused existing transaction policy of OpenEJB. If AMQ doesnt provide it when we'll integrate we'll do. However all which is not CDI related and linked to the scanning (@JMS*Definition) is bound to OpenEJB in AnnotationDeployer. Note: closing as "Invalid" since I'm not sure which resolution is actually right > JMS 2.0 Provide JMSContext beans > -------------------------------- > > Key: TOMEE-1485 > URL: https://issues.apache.org/jira/browse/TOMEE-1485 > Project: TomEE > Issue Type: New Feature > Reporter: John D. Ament > > JMS 2.0 spec requires two beans to be defined - a TransactionScoped instance and a RequestScoped instance. The RequestScoped one acts more like a dependent bean since its not shared across injection points. > This is a container level responsibility not the JMS provider. Please see Section 12.4 of the JMS Spec for implementation details. -- This message was sent by Atlassian JIRA (v6.3.4#6332)