public interface MessagePublisherService
extends com.appiancorp.services.ContextSensitiveService
ServiceLocator.getMessagePublisherService(ServiceContext)
Modifier and Type | Method and Description |
---|---|
void |
publishMessage(InternalJmsMessage message_)
Publishes a message to the appropriate location.
|
void |
publishMessages(InternalJmsMessage[] messages_)
Publishes the provided messages to the appropriate locations.
|
void |
publishMessagesToJms(InternalJmsMessage[] messages_)
Publish the provided messages to JMS.
|
void |
publishMessagesToProcess(InternalMessage[] messages_)
Publishes the provided internal messages to Process.
|
void |
publishMessageToJms(InternalJmsMessage message_)
Publishes the message to JMS.
|
void |
publishMessageToProcess(InternalMessage message_)
Publishes an internal message to Process (ignores the JMS topic) on the message.
|
void |
publishMessageToProcess(javax.jms.Message message_)
Publishes a JMS message to Process (ignores the JMS topic) on the message.
|
void |
publishMessageToProcess(jakarta.mail.Message message_)
Publishes a mail message to Process (ignores the JMS topic) on the message.
|
void publishMessage(InternalJmsMessage message_) throws javax.naming.NamingException, javax.jms.JMSException, InvalidJMSDestinationException
message_
- the message to publishjavax.jms.JMSException
- if there is a problem involving the JMS providerjavax.naming.NamingException
- if there is a JNDI problemInvalidJMSDestinationException
publishMessages(InternalJmsMessage[])
void publishMessages(InternalJmsMessage[] messages_) throws javax.naming.NamingException, javax.jms.JMSException, InvalidJMSDestinationException
publishMessagesToProcess(com.appiancorp.suiteapi.messaging.InternalMessage[])
, otherwise it is
sent to publishMessagesToJms(com.appiancorp.suiteapi.messaging.InternalJmsMessage[])
messages_
- the messages to publishjavax.jms.JMSException
- if there is a problem involving the JMS providerjavax.naming.NamingException
- if there is a JNDI problemInvalidJMSDestinationException
void publishMessageToProcess(InternalMessage message_) throws InvalidJMSDestinationException
message_
- the message to publish to processInvalidJMSDestinationException
publishMessages(InternalJmsMessage[])
void publishMessageToProcess(javax.jms.Message message_) throws javax.jms.JMSException, com.appiancorp.messaging.ProcessRouteMissingException, InvalidJMSDestinationException
message_
- the message to publish to processjavax.jms.JMSException
com.appiancorp.messaging.ProcessRouteMissingException
InvalidJMSDestinationException
#publishMessages(Message[])
void publishMessageToProcess(jakarta.mail.Message message_) throws jakarta.mail.MessagingException, com.appiancorp.messaging.ProcessRouteMissingException, InvalidJMSDestinationException
message_
- the message to publish to processjakarta.mail.MessagingException
com.appiancorp.messaging.ProcessRouteMissingException
InvalidJMSDestinationException
#publishMessages(Mail[])
void publishMessagesToProcess(InternalMessage[] messages_) throws InvalidJMSDestinationException
messages_
- the messages to publishInvalidJMSDestinationException
void publishMessageToJms(InternalJmsMessage message_) throws javax.naming.NamingException, javax.jms.JMSException, InvalidJMSDestinationException
message_
- the message to publishjavax.jms.JMSException
- if there is a problem involving the JMS providerjavax.naming.NamingException
- if there is a JNDI problemInvalidJMSDestinationException
publishMessagesToJms(InternalJmsMessage[])
void publishMessagesToJms(InternalJmsMessage[] messages_) throws javax.naming.NamingException, javax.jms.JMSException, InvalidJMSDestinationException
InternalJmsMessage.getTopic()
.messages_
- the messages to publishjavax.jms.JMSException
- if there is a problem involving the JMS providerjavax.naming.NamingException
- if there is a JNDI problemInvalidJMSDestinationException
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.