| Constructor and Description |
|---|
JMSChannel(javax.jms.Session session,
javax.jms.MessageProducer producer,
Network network,
String subject,
boolean notification)
This is the constructor for the JMS channel.
|
JMSChannel(javax.jms.Session session,
javax.jms.MessageProducer producer,
Network network,
String sourceNode,
String destNode)
This is the constructor for the JMS channel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method closes the JMS channel.
|
String |
getDestinationNode()
This method returns the destination node.
|
String |
getNetworkName()
This method returns the network name.
|
String |
getSourceNode()
This method returns the source node.
|
String |
getSubject()
This method returns the subject.
|
String |
getVersion()
This method returns the version.
|
boolean |
isNotificationChannel()
This method determines whether this channel is a notification
channel.
|
void |
send(EventList events) |
void |
send(EventList events,
int retriesLeft) |
public JMSChannel(javax.jms.Session session,
javax.jms.MessageProducer producer,
Network network,
String sourceNode,
String destNode)
session - The sessionproducer - The producernetwork - The networksourceNode - The source node namedestNode - The destination node namepublic JMSChannel(javax.jms.Session session,
javax.jms.MessageProducer producer,
Network network,
String subject,
boolean notification)
session - The sessionproducer - The producernetwork - The networksubject - The subjectnotification - Whether the subject is for notificationpublic String getSubject()
public boolean isNotificationChannel()
public String getNetworkName()
public String getVersion()
public String getDestinationNode()
public String getSourceNode()
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.