WildFly HornetQ-Based Messaging Subsystem Configuration Reference - Connectors: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 16: Line 16:


====tcp-send-buffer-size====
====tcp-send-buffer-size====
See: {{Internal|Socket_SO_SNDBUF|Socket SO_SNDBUF}}


====tcp-receive-buffer-size====
====tcp-receive-buffer-size====


Example:
See: {{Internal|Socket_SO_RCVBUF|Socket SO_RCVBUF}}
 
====Example====


<syntaxhighlight lang='xml'>
<syntaxhighlight lang='xml'>
<netty-connector name="netty" socket-binding="messaging"/>
<netty-connector name="netty" socket-binding="messaging">
   <param key="batch-delay" value="50"/>
  <param key="tcp-send-buffer-size" value="1048576"/>
   <param key="tcp-receive-buffer-size" value="1048576"/>
</netty-connector>
</netty-connector>
</syntaxhighlight>
</syntaxhighlight>


==<in-vm-connector>==
==<in-vm-connector>==

Latest revision as of 18:09, 26 September 2017

External

Internal

Overview

HornetQ Concepts - Connector

<connectors>

<netty-connector>

tcp-send-buffer-size

See:

Socket SO_SNDBUF

tcp-receive-buffer-size

See:

Socket SO_RCVBUF

Example

<netty-connector name="netty" socket-binding="messaging">
  <param key="tcp-send-buffer-size" value="1048576"/>
  <param key="tcp-receive-buffer-size" value="1048576"/>
</netty-connector>

<in-vm-connector>