Class JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD>
- java.lang.Object
- 
- io.helidon.messaging.connectors.jms.JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD>
 
- 
- Type Parameters:
- PAYLOAD- payload type
 - Enclosing interface:
- JmsMessage<PAYLOAD>
 
 public static class JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> extends Object implements Builder<Message<PAYLOAD>> Outgoing JMS message builder. Makes possible to create JMS message with properties.
- 
- 
Method Summary
 
- 
- 
- 
Method Detail- 
payloadpublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> payload(PAYLOAD payload) Set or replace JMS payload.- Parameters:
- payload- new payload
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, boolean value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- boolean value to stored as JMS property
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, byte value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- byte value to stored as JMS property
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, short value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- short value to stored as JMS property
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, int value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- int value to stored as JMS property
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, long value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- long value to stored as JMS property
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, float value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- float value to stored as JMS property
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, double value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- double value to stored as JMS property
- Returns:
- this builder
 
 - 
propertypublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> property(String name, String value) Set JMS of given name.- Parameters:
- name- the name of the JMS property
- value- string value to be stored as JMS property
- Returns:
- this builder
 
 - 
onAckpublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> onAck(Supplier<CompletionStage<Void>> ack) Callback invoked when message is acknowledged.- Parameters:
- ack- callback
- Returns:
- this builder
 
 - 
customMapperpublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> customMapper(JmsMessage.CustomMapper<PAYLOAD> mapper) Custom mapper used by connector for mapping toMessage.- Parameters:
- mapper- supplying this message and- Sessionfor manual creation of- Message
- Returns:
- this builder
 
 - 
correlationIdpublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> correlationId(String correlationId) Correlation ID for creatingMessage.- Parameters:
- correlationId- provider specific or application specific correlation ID
- Returns:
- this builder
 
 - 
replyTopublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> replyTo(javax.jms.Destination replyTo) Destination to which a reply to this message is expected.- Parameters:
- replyTo- destination to reply to
- Returns:
- this builder
 
 - 
typepublic JmsMessage.OutgoingJmsMessageBuilder<PAYLOAD> type(String type) JMS Message type.- Parameters:
- type- the message type
- Returns:
- this builder
 
 
- 
 
-