This client program connects to a server using <connection-url>, creates a sender for target <address>, sends a message containing <message-body>, closes the connection, and exits.
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Running the example
To run the example program, copy it to a local file, compile it, and execute it from the command line. For more information, see Chapter 3, Getting started.
This client program connects to a server using <connection-url>, creates a receiver for source <address>, and receives messages until it is terminated or it reaches <count> messages.
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Running the example
To run the example program, copy it to a local file, compile it, and execute it from the command line. For more information, see Chapter 3, Getting started.
We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.
Making open source more inclusive
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.
About Red Hat
We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.