Package jadex.micro.messagequeue
Interface IMessageQueueService
- All Known Implementing Classes:
MessageQueueAgent
public interface IMessageQueueService
Message queue interface. Allows for subscribing to topics
and publishing events to the queue.
-
Method Summary
-
Method Details
-
subscribe
Subscribe to a specific topic. New events that fit to the topic are forwarded to all subscribers as intermediate results. A subscribe can unsubscribe by terminating the future.- Parameters:
topic
- The topic.- Returns:
- The events.
-
publish
Publish a new event to the queue.- Parameters:
topic
- The topic.event
- The event to publish.
-