Package org.symphonyoss.s2.fugue.pubsub
Interface IPublisherManager
-
- All Known Subinterfaces:
IPublisherAdmin
- All Known Implementing Classes:
AbstractPublisherManager
public interface IPublisherManagerA pub/sub publisher manager.- Author:
- Bruce Skingle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaximumMessageSize()Return the maximum allowed size of a message in bytes.IPublishergetPublisherByName(String topicId)Get the IPublisher for the given named topic.IPublishergetPublisherByName(String serviceId, String topicId)Get the IPublisher for the given named topic.IPublishergetPublisherByName(org.symphonyoss.s2.fugue.naming.TopicName topicName)Get the IPublisher for the given named topic.
-
-
-
Method Detail
-
getPublisherByName
IPublisher getPublisherByName(String topicId)
Get the IPublisher for the given named topic.- Parameters:
topicId- The actual name of a topic.- Returns:
- The publisher for the required topic.
-
getPublisherByName
IPublisher getPublisherByName(String serviceId, String topicId)
Get the IPublisher for the given named topic.- Parameters:
serviceId- The ID of the service which owns the topic.topicId- The actual name of a topic.- Returns:
- The publisher for the required topic.
-
getPublisherByName
IPublisher getPublisherByName(org.symphonyoss.s2.fugue.naming.TopicName topicName)
Get the IPublisher for the given named topic.- Parameters:
topicName- The name of a topic.- Returns:
- The publisher for the required topic.
-
getMaximumMessageSize
int getMaximumMessageSize()
Return the maximum allowed size of a message in bytes.- Returns:
- The maximum allowed size of a message in bytes.
-
-