public class JMSSink
extends java.lang.Object
implements javax.jms.MessageListener
JMSAppender
.构造器和说明 |
---|
JMSSink(java.lang.String tcfBindingName,
java.lang.String topicBindingName,
java.lang.String username,
java.lang.String password) |
public JMSSink(java.lang.String tcfBindingName, java.lang.String topicBindingName, java.lang.String username, java.lang.String password)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void onMessage(javax.jms.Message message)
onMessage
在接口中 javax.jms.MessageListener
protected static java.lang.Object lookup(javax.naming.Context ctx, java.lang.String name) throws javax.naming.NamingException
javax.naming.NamingException