![]() The STOMP protocol (version 1.1 or greater) defines the concept of heart beats as a method by which a client and broker can determine the health of the underlying TCP connection between them. An example of using Stomp over SSL on the client side can be found in the PHP Stomp client example. To use NIO change the URI scheme of the transport connector to stomp+nio.įor more details on using SSL with ActiveMQ see the following article ( How do I use SSL). ![]() ![]() This can help when support for a large number of queues is required. The NIO transport will use far fewer threads than the corresponding TCP connector. Enabling Stomp over NIOįrom ActiveMQ 5.3: for better scalability and performance the Stomp protocol can be configured to be run over the NIO transport. This applies to all errors that can occur broker-side.įor additional security, you can use Stomp over SSL as described in the following section. In other case, operations will be discarded but the client will not be informed of errors. If you use synchronous operations (by using receipts), you can expect an ERROR frame in case of unauthorized access attempt. Also, the authorization policies will be applied when you try to access (read/write) certain destinations. This means that the CONNECT command will return an ERROR STOMP frame on unsuccessful authentication. Securityįrom ActiveMQ 5.1: Stomp fully supports ActiveMQ’s security mechanism. Options missing this prefix will be ignored. to take effect, e.g., wireFormat.`maxDataLength`=100000. Wire format options must have the prefix wireFormat.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |