"[EMAIL PROTECTED]" wrote : Look at AddDataTest:
  | 
  |   | JChannel c=new JChannel(properties);
  |   |                 Map m=new HashMap();
  |   |                 m.put("additional_data", new byte[]{'b', 'e', 'l', 
'a'});
  |   |                 c.down(new Event(Event.CONFIG, m));
  |   |                 c.connect("bla");
  |   |                 IpAddress addr=(IpAddress)c.getLocalAddress();
  |   |                 System.out.println("address is " + addr);
  |   |                 assertNotNull(addr.getAdditionalData());
  |   |                 assertEquals(addr.getAdditionalData()[0], 'b');
  |   | 
  | 
  | IpAddress.getAdditionalData() returns a byte[] buffer, that you can use

But you're saying that it is already used by JBoss Cache... won't it upset the 
system when I set it myself? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895493


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to