[
http://jira.jboss.com/jira/browse/JGRP-583?page=comments#action_12378289 ]
Bela Ban commented on JGRP-583:
-------------------------------
This was done through JChannelFactory, to create a channel:
JChannelFactory factory=new JChannelFactory();
factory.setMultiplexerConfig("/home/bela/stacks.xml");
Channel ch=factory.createChannel("udp"); // contrary to
createMultiplexerChannel("udp", "id"), this is not a MuxChannel but a
JChannel
Create JChannel based on XML file and stack name (similar to
MuxChannel creation)
---------------------------------------------------------------------------------
Key: JGRP-583
URL:
http://jira.jboss.com/jira/browse/JGRP-583
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.6
Example: Channel ch=new JChannel("stacks.xml", "udp"). This creates a
UDP based protocol stack, based on stacks.xml. The advantage is to maintain all protocol
stack configurations in the same XML file
--
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