Streaming Text Oriented Messaging Protocol
#
More info at Wikipedia: Streaming Text Oriented Messaging Protocol
⚠️ Proxy Configuration: If your server accesses the internet through a proxy, ensure that the STOMP domains are whitelisted.
JMSTask configuration:
#
JNDI config: Variable replacement is supported.
#
More info about Java Naming and Directory Interface: Wikipedia: Java Naming and Directory Interface Link
JNDI is a system used by some applications to store and access connection details—like the server address, username, and password—as well as the names of messaging channels (called topics and queues).In simple terms, it helps the application know where to connect and where to send or receive messages, without needing to hard-code those details every time.

STOMP TCP TLS Configuration example:
# Secured STOMP TCP Host url=stomp+ssl://my.stomp.domain.com:61619 #User name and password username=user password=password #Topic name topic.lmint_topic=lmint_topic heartbeat_interval=5000 log_stomp_command_header=true
STOMP WSS Configuration example:
# Secured STOMP WSS Host url=stomp+wss://my.stomp.domain.com:61619 #User name and password username=user password=password #Topic name topic.lmint_topic=lmint_topic heartbeat_interval=5000 log_stomp_command_header=true
url: Defines the connection endpoint for the Message Broker.
- stomp+ssl: STOMP messages through a driect TCP connection wrapped in SSL/TLS encryption
- stomp+wss: STOMP messages through a Secure WebSocket (WSS), wrapping the traffic in SSL/TLS
username=user or password=password: The authentication credentials required to log in to the Message Broker. The account used here must have permissions to connect to the broker and specifically to publish or subscribe to the topics defined below.
topic.lmint_topic=lmint_topic: Defines the specific destination (Topic/Queue) on the broker where messages will be sent or received.
heartbeat_interval=5000: The frequency of keep-alive signals sent between the client and the server to maintain the connection.
log_stomp_command_header=true: Controls the verbosity of the STOMP protocol logging. When set to true, the application writes the raw headers of every outgoing STOMP frame.
Producer Mode: See at Producer Mode Link
#
Consumer Mode: See at Consumer Mode Link
#
Back to: JMS (Java Message Service)
Add new attachment
Only authorized users are allowed to upload new attachments.
List of attachments
| Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
|---|---|---|---|---|---|---|
png |
stomp_jndi_config.png | 96.2 kB | 2 | 25-Nov-2025 08:00 | krivacsz |
«
This page (revision-22) was last changed on 27-Nov-2025 02:05 by krivacsz
G’day (anonymous guest)
Log in
JSPWiki