Bug 985793

Summary: Allow property substitution in MDB via ctivationConfigProperty Annotation
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Carlo de Wolf <cdewolf>
Component: EJBAssignee: Chao Wang <chaowan>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: jawilson, jdoyle, jmartisk, kkhan, sappleto, smumford
Target Milestone: DR0   
Target Release: EAP 6.3.0   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This release of JBoss EAP 6 allows property substitution in Message Driven Beans via ActivationConfigProperty Annotation. Refer to the chapter on Message-Driven Beans in the EAP 6.3 `Developer Guide` for more information.
Story Points: ---
Clone Of: 923905 Environment:
Last Closed: 2014-06-28 15:44:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 923905    

Comment 2 Jaikiran Pai 2013-09-03 12:37:10 UTC
Are we talking of EAP6 or EAP5? EAP 6 already has property substitution support in deployment descriptors.

Comment 3 Shaun Appleton 2013-09-03 13:46:41 UTC
from PRODMGT-404:

This request is to to be able to do the same within the annotation @ActivationConfigProperty

ie

@MessageDriven(name = "MDBMessageSendTxExample",
activationConfig =
{
@ActivationConfigProperty
(propertyName = "JndiParams", propertyValue = ${Arte.TestJMS1.JndiParams}

),
...

})

https://access.redhat.com/knowledge/docs/en-US/JBoss_Enterprise_Application_Platform/5/html-single/HornetQ_User_Guide/index.html#id807476
shows the use of @ActivationConfigProperty with hardcoded values

Comment 8 Dimitris Andreadis 2013-10-24 18:28:02 UTC
Assigning jpai EJB issues to david.lloyd. Please re-assign to Cheng or others as needed.

Comment 10 Kabir Khan 2014-01-30 10:12:41 UTC
Linking https://issues.jboss.org/browse/EAP6-38 which seems to be a feature request for the same thing

Comment 11 Kabir Khan 2014-01-30 10:13:20 UTC
https://github.com/jbossas/jboss-eap/pull/846

Comment 12 JBoss JIRA Server 2014-02-03 10:32:37 UTC
Stuart Douglas <stuart.w.douglas> updated the status of jira EAP6-38 to Reopened

Comment 13 Kabir Khan 2014-02-05 21:53:16 UTC
https://github.com/jbossas/jboss-eap/pull/872

Comment 14 Miroslav Novak 2014-02-28 18:31:28 UTC
Verified in EAP 6.3.0.DR0.

Comment 15 Scott Mumford 2014-06-04 03:07:01 UTC
Marked as Enhancement and flagged for inclusion in the 6.3.0 Release Notes.

Comment 16 JBoss JIRA Server 2015-04-28 15:10:03 UTC
John Doyle <jdoyle> updated the status of jira EAP6-38 to Closed