<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">BTW I have this in trunk now - you would do something like:<div><br></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; border-collapse: collapse; font-size: 12px; "><br>&lt;transport ....&gt;&nbsp;<br>&nbsp;&nbsp;&nbsp;&lt;properties&gt;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name="channelLookup" value="com.blah.MyJGroupsChannelLookup" /&gt;&nbsp;<br>&nbsp;&nbsp;&nbsp;&lt;/properties&gt;&nbsp;<br>&lt;/transport&gt;</span></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><span class="Apple-style-span" style="font-size: 12px; "></span><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">to pass in a ChannelLookup, which would need to implement&nbsp;</span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://fisheye.jboss.org/browse/Infinispan/trunk/core/src/main/java/org/infinispan/remoting/transport/jgroups/JGroupsChannelLookup.java?r=1084">http://fisheye.jboss.org/browse/Infinispan/trunk/core/src/main/java/org/infinispan/remoting/transport/jgroups/JGroupsChannelLookup.java?r=1084</a></span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Cheers</span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Manik</span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font><div><div>On 1 Oct 2009, at 11:12, Manik Surtani wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On 30 Sep 2009, at 13:23, Galder Zamarreno wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 09/30/2009 01:42 PM, Mircea Markus wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Can't we use an<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">interface JGroupsChannelLookup {<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;JChannel lookupChannel();<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">}<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This can be specified as a parameter to the trasport<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;property name="txLookup" value="org.xyz.MySpecificLookup"/&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">we are using 2 lookups already (TM, MBeanServerLookup) and this would<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">be consistent with the code base.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I would stick with the lookup within JGroupsTransport and not within<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the TransportLookup, as this seems rather particular.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">+1.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">It's something like this what I had in mind with my previous email but<br></blockquote><blockquote type="cite">forgot of how complex JGroupsTransport and that it does much more than<br></blockquote><blockquote type="cite">only create the JChannel.<br></blockquote><br>Makes sense. &nbsp;Brian, thoughts? &nbsp;Does this work for you?<br><br>Cheers<br>Manik<br><br>--<br>Manik Surtani<br><a href="mailto:manik@jboss.org">manik@jboss.org</a><br>Lead, Infinispan<br>Lead, JBoss Cache<br>http://www.infinispan.org<br>http://www.jbosscache.org<br><br><br><br><br>_______________________________________________<br>infinispan-dev mailing list<br>infinispan-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/infinispan-dev<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>