|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMessaging
Provides access to the messaging system of WSRFlite
| Method Summary | |
|---|---|
IMessagingChannel |
getChannel(String name)
gets or creates a messaging channel with the given name |
PullPoint |
getPullPoint(String destination)
get a pullpoint for reading messages targeted at the given destination |
IMessagingChannel |
getQueue(String name)
Deprecated. use getChannel instead |
boolean |
hasMessages(String destination)
checks if unread messages exist for the given destination |
void |
registerProvider(IMessagingProvider provider,
String id)
register a new messaging provider |
| Method Detail |
|---|
void registerProvider(IMessagingProvider provider,
String id)
provider - IMessagingProvider
IMessagingChannel getChannel(String name)
throws MessagingException
name - - the name of the messaging queue
IMessagingChannel
MessagingException
IMessagingChannel getQueue(String name)
throws MessagingException
MessagingException
PullPoint getPullPoint(String destination)
throws MessagingException
destination - - the name of the messaging queue
PullPoint
MessagingException
boolean hasMessages(String destination)
throws MessagingException
destination -
true if unread messages exist
MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||