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

Bartosz Andrzejewski (JIRA) issues at jboss.org
Mon Oct 17 18:28:00 EDT 2016


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

Bartosz Andrzejewski commented on WFLY-5213:
--------------------------------------------

I'm trying to connect to remote Artemis standalone server and be able to use MDB's.
I thought it can be configured in massaging-activemq module - since it has dependency to org.apache.activemq.artemis, but apparently it can not.

Should I add *org.apache.activemq.artemis* extension to the configuration (since it is not listed in standalone-full configuration by deafult), and define remote-connector + pooled-connection-factory in this module (instead of defining it massaging-activemq module)? 


> 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