protected class JMSEPNManagerImpl.JMSEPNContainer extends Object implements EPNContainer
Modifier | Constructor and Description |
---|---|
protected |
JMSEPNContainer() |
Modifier and Type | Method and Description |
---|---|
Channel |
getChannel(Network network,
String source,
String dest)
This method returns the channel associated with the supplied
destination.
|
Channel |
getChannel(String subject)
This method returns the channel associated with the supplied
subject.
|
Channel |
getNotificationChannel(Network network,
String subject)
This method returns the notification channel associated with
the supplied network and source.
|
void |
send(EventList events,
List<Channel> channels)
This method sends the supplied events to the supplied list
of channels.
|
public Channel getChannel(Network network, String source, String dest) throws Exception
getChannel
in interface EPNContainer
network
- The networksource
- The source nodedest
- The destination nodeException
- Channel cannot be createdpublic Channel getNotificationChannel(Network network, String subject) throws Exception
getNotificationChannel
in interface EPNContainer
network
- The networksubject
- The subjectException
- Channel cannot be createdpublic Channel getChannel(String subject) throws Exception
getChannel
in interface EPNContainer
subject
- The subject on which the events will be publishedException
- Channel cannot be createdpublic void send(EventList events, List<Channel> channels) throws Exception
send
in interface EPNContainer
events
- The eventschannels
- The list of channelsException
- Failed to send the eventsCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.