Package | Description |
---|---|
com.solace.messaging |
A root API package that contains interfaces and classes for developing Java applications using
Solace PubSub Messaging Java Client
|
com.solace.messaging.publisher |
A package that contains interfaces and classes to handle publishing messages.
|
Modifier and Type | Method and Description |
---|---|
OutboundMessageBuilder |
MessagingService.messageBuilder()
Creates an instance of
OutboundMessageBuilder that inherits configuration profile
defaults from this instance. |
Modifier and Type | Method and Description |
---|---|
OutboundMessageBuilder |
OutboundMessageBuilder.fromProperties(Properties configuration)
Enables property-based configuration.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withApplicationMessageId(String applicationMessageId)
Deprecated.
As of release 1.1, instead use one of the OutboundMessageBuilder.build() method
that accepts extendedMessageProperties and set MessageProperties.APPLICATION_MESSAGE_ID
property.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withApplicationMessageType(String applicationMessageType)
Configures the application message type.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withClassOfService(int cosValue)
Deprecated.
As of release 1.1, instead use one of the OutboundMessageBuilder.build() method
that accepts extendedMessageProperties and set
SolaceProperties.MessageProperties.CLASS_OF_SERVICE
property to configure COS with same range (0-2). |
OutboundMessageBuilder |
OutboundMessageBuilder.withExpiration(long utcTime)
Configures UTC time (in milliseconds) as Epoch time to indicate when the message is supposed to
expire.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withHTTPContentHeader(String contentType,
String contentEncoding)
Configures HTTP content-type and encoding values for interaction with an HTTP client.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withPriority(int priority)
Configures an optional message optionally priority
|
OutboundMessageBuilder |
OutboundMessageBuilder.withProperty(String key,
String value)
Configures a user-defined property that's sent with a message.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withSenderId(String senderId)
Configures the developer provided sender ID.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withSequenceNumber(long sequenceNumber)
Configures the developer provided message sequence number.
|
OutboundMessageBuilder |
OutboundMessageBuilder.withTimeToLive(long ttl)
Configures the number of milliseconds before the message is discarded or moved to a Dead
Message Queue.
|
Copyright 2019-2024 Solace Corporation. All rights reserved.