Package | Description |
---|---|
com.solacesystems.jcsmp |
The Solace Messaging API for Java (also referred to as JCSMP) is a 100% pure Java implementation that provides an object-oriented API for delivering high message throughput.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BytesMessage
BytesMessage is used to send a message containing a stream
of uninterpreted bytes. |
interface |
CacheEventMessage
An event that signals the termination of a cache request.
|
interface |
EventMessage
Base Interface for Event Messages sent through the datapath.
|
interface |
MapMessage
MapMessage is used to send a message containing a SDTMap. |
interface |
Message
Message describes a message that is sent or received. |
interface |
StreamMessage
StreamMessage is used to send a message containing an SDTStream. |
interface |
TextMessage
TextMessage is used to send a message containing text. |
interface |
XMLContentMessage
XMLContentMessage is used to send a message containing XML data. |
Modifier and Type | Method and Description |
---|---|
BytesXMLMessage |
Producer.createBytesXMLMessage()
Applications use this method to create a
BytesXMLMessage . |
BytesXMLMessage |
JCSMPFactory.createBytesXMLMessage()
Creates a session-independent
BytesXMLMessage that may be reused
and published multiple times. |
BytesXMLMessage |
Producer.createBytesXMLMessage(byte[] value)
Applications use this method to create a
BytesXMLMessage . |
BytesXMLMessage |
JCSMPFactory.createMessage(BytesXMLMessage toclone)
Creates a session-independent message that may be published multiple times.
|
BytesXMLMessage |
Browser.getNext()
Retrieve the next message from the Browser's local message buffer, if one
is available, waiting if necessary up to the timeout configured in
BrowserProperties . |
BytesXMLMessage |
Browser.getNext(int timeoutInMillis)
Retrieve the next message from the Browser's local message buffer, if one
is available, waiting if necessary up to
timeoutInMillis ms. |
BytesXMLMessage |
Browser.getNextNoWait()
If there is at least one message available in the Browser's local message
buffer, return it immediately; otherwise, return null.
|
BytesXMLMessage |
Consumer.receive()
Receives the next available message, waiting until one is available.
|
BytesXMLMessage |
Consumer.receive(int timeoutInMillis)
Receives the next available message.
|
BytesXMLMessage |
Consumer.receiveNoWait()
Receives the next available message.
|
BytesXMLMessage |
Requestor.request(XMLMessage request,
long timeoutMillis,
Destination sendDestination)
Performs a request to the specified destination.
|
Modifier and Type | Method and Description |
---|---|
BytesXMLMessage |
JCSMPFactory.createMessage(BytesXMLMessage toclone)
Creates a session-independent message that may be published multiple times.
|
void |
XMLMessageListener.onReceive(BytesXMLMessage message)
The callback method to handle messages received by the
XMLMessageConsumer . |
void |
Browser.remove(BytesXMLMessage message)
Remove a message from the appliance's Queue Endpoint.
|
Copyright 2004-2024 Solace Corporation. All rights reserved.