I am going to create an inherited class (LSPrivateChatEndpoint) from
privateChatEndpoint and uses the class when invoking "toNMS" and "fromNMS"
methods.

I am not sure of how I modify xbean.xml for XMPP binding component.
Here is my current xbean.xml file.

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xmpp="http://servicemix.apache.org/xmpp/1.0";
       xmlns:jabberbot="http://myAppURL/jabberbot";>
      
       <xmpp:privateChatEndpoint
           service="jabberbot:LSJabberService"
           endpoint="endpoint"
           user="servicemix-u...@johnrail"
           host="johnrail"
           port="5222"
           password="servicemix-pwd"
           uri="xmpp://servicemix-u...@johnrail"
        marshaler="#lionsharemarshaler">
    </xmpp:privateChatEndpoint>
    <bean id="lionsharemarshaler"
class="org.apache.servicemix.jbi.LSJabberMarshaler" />
</beans>
-- 
View this message in context: 
http://www.nabble.com/Inheritance-from-privateChatEndpoint-in-XMPP-tp22791203p22791203.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to