public final class DaemonMessageSender extends Object implements IDaemonMessageSender
| Constructor and Description |
|---|
DaemonMessageSender() |
| Modifier and Type | Method and Description |
|---|---|
void |
reply(DaemonResponse response)
Reply with a Daemon response.
|
void |
reply(DaemonResponse response,
boolean secure)
Reply with a Daemon response.
|
void |
reply(String correlationID,
javax.jms.Destination replyTo,
InterconnectObject ico)
Reply with an IVO.
|
void |
reply(String correlationID,
javax.jms.Destination replyTo,
InterconnectObject ico,
boolean secure)
Reply with an IVO.
|
void |
sendToQueue(String queue,
InterconnectObject ico,
boolean secure,
DaemonMessageSenderHeader... headers) |
void |
sendToQueue(String queue,
InterconnectObject ico,
boolean secure,
String replyToQueue,
String correlationId,
DaemonMessageSenderHeader... headers) |
void |
sendToQueue(String queue,
InterconnectObject ico,
DaemonMessageSenderHeader... headers) |
void |
sendToTopic(String topic,
InterconnectObject ico,
boolean secure,
DaemonMessageSenderHeader... headers) |
void |
sendToTopic(String topic,
InterconnectObject ico,
DaemonMessageSenderHeader... headers) |
void |
start() |
void |
stop() |
@PostConstruct public void start() throws Exception
Exception - If MessageConnector can not be started@PreDestroy public void stop()
public void reply(DaemonResponse response) throws Exception
IDaemonMessageSenderreply in interface IDaemonMessageSenderresponse - ResponseException - If something went wrongpublic void reply(String correlationID, javax.jms.Destination replyTo, InterconnectObject ico) throws Exception
IDaemonMessageSenderreply in interface IDaemonMessageSendercorrelationID - Correlation IDreplyTo - Reply toico - InterconnectObjectException - If something went wrongpublic void reply(DaemonResponse response, boolean secure) throws Exception
IDaemonMessageSenderreply in interface IDaemonMessageSenderresponse - Responsesecure - (encrypted communication)Exception - If something went wrongpublic void reply(String correlationID, javax.jms.Destination replyTo, InterconnectObject ico, boolean secure) throws Exception
IDaemonMessageSenderreply in interface IDaemonMessageSendercorrelationID - Correlation IDreplyTo - Reply toico - InterconnectObjectsecure - (encrypted communication)Exception - If something went wrongpublic void sendToTopic(String topic, InterconnectObject ico, DaemonMessageSenderHeader... headers) throws Exception
sendToTopic in interface IDaemonMessageSendertopic - Topic nameico - InterconnectObjectheaders - Headers (optional)Exception - If something went wrongpublic void sendToQueue(String queue, InterconnectObject ico, DaemonMessageSenderHeader... headers) throws Exception
sendToQueue in interface IDaemonMessageSenderqueue - Queue nameico - InterconnectObjectheaders - Headers (optional)Exception - If something went wrongpublic void sendToTopic(String topic, InterconnectObject ico, boolean secure, DaemonMessageSenderHeader... headers) throws Exception
sendToTopic in interface IDaemonMessageSendertopic - Topic nameico - InterconnectObjectsecure - (encrypted communication)headers - Headers (optional)Exception - If something went wrongpublic void sendToQueue(String queue, InterconnectObject ico, boolean secure, DaemonMessageSenderHeader... headers) throws Exception
sendToQueue in interface IDaemonMessageSenderqueue - Queue nameico - InterconnectObjectsecure - (encrypted communication)headers - Headers (optional)Exception - If something went wrongpublic void sendToQueue(String queue, InterconnectObject ico, boolean secure, String replyToQueue, String correlationId, DaemonMessageSenderHeader... headers) throws Exception
sendToQueue in interface IDaemonMessageSenderqueue - Queue nameico - InterconnectObjectsecure - (encrypted communication)replyToQueue - Reply To queue (can be null)correlationId - Correlation id (can be null)headers - Headers (optional)Exception - If something went wrongCopyright © 2016–2018 Taimos GmbH. All rights reserved.