public class MessagePublication extends Object implements IMessagePublication
Modifier and Type | Class and Description |
---|---|
static class |
MessagePublication.Factory |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Subscription subscription) |
void |
execute() |
PublicationError |
getError() |
Object |
getMessage() |
boolean |
hasError() |
boolean |
isDeadMessage() |
boolean |
isFilteredMessage() |
boolean |
isFinished() |
boolean |
isRunning() |
boolean |
isScheduled() |
void |
markDispatched() |
void |
markError(PublicationError error) |
MessagePublication |
markScheduled() |
public boolean add(Subscription subscription)
public void execute()
execute
in interface IMessagePublication
public boolean isFinished()
isFinished
in interface IMessagePublication
public boolean isRunning()
isRunning
in interface IMessagePublication
public boolean isScheduled()
isScheduled
in interface IMessagePublication
public boolean hasError()
hasError
in interface IMessagePublication
public PublicationError getError()
getError
in interface IMessagePublication
public void markDispatched()
public void markError(PublicationError error)
public MessagePublication markScheduled()
public boolean isDeadMessage()
isDeadMessage
in interface IMessagePublication
public boolean isFilteredMessage()
isFilteredMessage
in interface IMessagePublication
public Object getMessage()
getMessage
in interface IMessagePublication
Copyright © 2018. All rights reserved.