Duncan Doyle created JBESB-3750:
-----------------------------------
Summary: Add support for Dependency Injection (Spring Autowiring) to JBoss
ESB actions.
Key: JBESB-3750
URL:
https://issues.jboss.org/browse/JBESB-3750
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Rosetta
Affects Versions: 4.10
Environment: JBoss ESB 4.10
Reporter: Duncan Doyle
JBoss ESB currently provides basic support for Spring integration via the
AbstractSpringAction. This action however has a number of disadvantages.
- Every action loads its own application context.
- Extending from this action ties your code to the JBoss ESB framework (which we try to
avoid using JBoss ESB annotations).
- You still need to retrieve the dependency via a 'getBeanFactory().getBean()'
call which ties your application code to the Spring Framework.
I've created an initial implementation to support Spring @Autowired annotations in
JBoss ESB actions. See my blogpost:
http://duncandoyle.blogspot.com/2012/02/autowiring-your-jboss-esb-actions... and my
GitHub repo:
https://github.com/DuncanDoyle/JBossEsbSpringIntegration
It would be nice to integrate this functionality (AbstractAutowiredSpringAction) in JBoss
ESB/SOA-P.
Cheers,
Duncan
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira