[jboss-jira] [JBoss JIRA] (WFLY-5213) Injecting external context to Artemis fails

Bartosz Andrzejewski (JIRA) issues at jboss.org
Wed Oct 19 02:57:00 EDT 2016


    [ https://issues.jboss.org/browse/WFLY-5213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13309047#comment-13309047 ] 

Bartosz Andrzejewski edited comment on WFLY-5213 at 10/19/16 2:56 AM:
----------------------------------------------------------------------

It worked for MDB, thank you. 

But problem with JMSContext remain. There is still comp/TransactionSynchronizationRegistry naming exception - on first context usage(when creating a message or a producer).


was (Author: drzeyan):
It worked for MDB, thank you. 

But problem with JMSContext remain. There is still comp/TransactionSynchronizationRegistry naming exception - on first conext usage(when creating a message or a producer).

> Injecting external context to Artemis fails
> -------------------------------------------
>
>                 Key: WFLY-5213
>                 URL: https://issues.jboss.org/browse/WFLY-5213
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 10.0.0.Beta2
>            Reporter: Ondřej Kalman
>            Assignee: Jeff Mesnil
>             Fix For: 10.0.0.CR1
>
>
> When external-context is defined in EAP and it's pointing to external Artemis broker, it can't be injected in to MDB via @Resource(lookup = "java:global/externalcontext"). Such injection results in null object.
> Injecting destinations from external context results in javax.ejb.EJBTransactionRolledbackException.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list