public class MessageQueueAgent extends Object implements IMessageQueueService
| Constructor and Description |
|---|
MessageQueueAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
agentCreated()
Called on agent creation.
|
IFuture<Void> |
publish(String topic,
Event event)
Publish a new event to the queue.
|
ISubscriptionIntermediateFuture<Event> |
subscribe(String topic)
Subscribe to a specific topic.
|
public void agentCreated()
public ISubscriptionIntermediateFuture<Event> subscribe(String topic)
subscribe in interface IMessageQueueServicetopic - The topic.Copyright © 2012. All Rights Reserved.