[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1247) Remove requirement for JMX to use JGroups
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Mar 13 13:39:57 EDT 2008
Remove requirement for JMX to use JGroups
-----------------------------------------
Key: JBMESSAGING-1247
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1247
Project: JBoss Messaging
Issue Type: Task
Affects Versions: 1.4.1.beta1
Reporter: Brian Stansberry
Assigned To: Tim Fox
The current JGroups integration uses JMX to get ahold of a Channel:
public Channel createControlChannel() throws Exception
{
return (Channel) server.invoke(this.channelFactory, MUX_OPERATION,
new Object[]{controlStack, uniqueID + "-CTRL", Boolean.TRUE, uniqueID}, MUX_SIGNATURE);
}
The channelFactory member is an ObjectName injected into MessagingPostOfficeService. Better is to expose a property of type org.jgroups.ChannelFactory and inject an instance of that. That's the POJI interface for an object that provides JGroups channels.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list