[
https://issues.jboss.org/browse/AS7-6207?page=com.atlassian.jira.plugin.s...
]
Jeff Mesnil commented on AS7-6207:
----------------------------------
Being able to add a module will not be enough. All AS7 integration code is doing is pass
to HornetQ configuration the names of the class to load.
When HornetQ server is started, it will uses its own classloader to load the interceptor
classes. That's why we have to tweak the org.hornetq module.xml so that HornetQ
classloader can find them.
I'll sync with HornetQ team to see if we could add an alternative way to inject
directly interceptor instances so that AS7 would be able to load them modulary and pass
them to HornetQ at runtime.
Improve HornetQ interceptor support
-----------------------------------
Key: AS7-6207
URL:
https://issues.jboss.org/browse/AS7-6207
Project: Application Server 7
Issue Type: Feature Request
Components: JMS
Affects Versions: 7.1.3.Final (EAP)
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
HornetQ interceptors requires to tweak the org.hornetq module's module.xml to add a
dependency to a JBoss module containing the interceptor class.
Instead, the messaging subsystem should have a "module" attribute to load the
remoting-interceptors without requiring any changes to hornetq or messaging subsystem
modules.
This will require to transform the remoting-interceptors attribute (which is a list of
class names) to a messaging child resource identified by its class-name and with a module
attribute.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira