You can instantiate a multiplexer channel from a client as follows.

STACK_FILE = "stacks.xml";
STACK_NAME = "udp";

JChannelFactory factory=new JChannelFactory();
factory.setMultiplexerConfig(STACK_FILE);
Channel channel = factory.createMultiplexerChannel(STACK_NAME, "foo"); 
channel.connect("my group");   

STACK_FILE must be on your classpath; JGroups provides a file named stacks.xml 
in its distributable jar.  You can use this file or create your own with 
customized stacks.  STACK_NAME refers to the stack within STACK_FILE.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016642#4016642

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016642
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to