Commit 2c49498a authored by Claes's avatar Claes Committed by Esteban Blanc

Doc for remote rabbitmq added

parent ff76b4ba
......@@ -3087,6 +3087,7 @@ The supported protocols are:
TCP/IP
UDP/IP
RabbitMQ
MQ (BEA Message Queue)
ALCM (an old Digital protocol, supported for historical reasons)
Serial
......@@ -3133,6 +3134,7 @@ to the Remnode-object.
<option> printdisable
UDP <link> udp_ip
TCP <link> tcp_ip
RabbitMQ <link> rabbit_mq
BEA Message Queue <link> bea_mq
Serial <link> serial
3964-R <link> 3964r
......@@ -3201,6 +3203,31 @@ a client or a server. Setting it to zero (default) means client and setting it t
</topic>
<topic> rabbit_mq
RabbitMQ
RemnodeRabbitMQ configures a transport on the open source broker RabbitMQ.
Exchange, SendQueue and ReceiveQueue are configured in the remnode object. If the queues doesn't
exist they will be created on the server. If Exchange is left empty, the default exchange is used.
Username and password are specified to gain access to the RabbitMQ broker. The user has to
be define on the broker and given appropriate permissions. This can be done with rabbitmqctl on
the server node, eg
<c>> rabbitmqctl add_user myuser mypasswd
<c>> rabbitmqctl set_permissions -p / myuser .* .* .*
In the RemTrans object, Address[0] and Address[1] is used to address a sent message to the corresponding
RemTrans in the target node. Address[3] states the message delivery mode where 2 is persistent and other
values not persistent.
If a message should be recovered after a server failure, Durable should be set in the RemoteRabbitMQ
object, and delivery mode in RemTrans.Address[3] should be set to 2 (persistent).
If messages should be able to survive network failures, a suitable method is to send messages to a
local broker and receive messages from a broker on the sending node. In this case you need separate
RemnodeRabbitMQ objects for sending and receiving, and you also need to start the broker in both nodes.
</topic>
<topic> bea_mq
MQ
RemnodeMQ is a transport for sending messages on BEA Message Queue (BMQ). It requires that you to have
......@@ -3226,8 +3253,8 @@ TargetQueue.
<h2>Sending messages
Similarly to UDP and TCP-transports RemTrans. Address[0,1] are used to identify the message. Address[0]
represents the message-class and Address[1] represents the message-type (according to the BMQ-nomenclature).
Address[2,3] are used to define what type of delivery mode (Address[2]) that should be used and what action should be
taken when a message cannot be delivered (Address[3]).
Address[2,3] are used to define what type of delivery mode (Address[2]) that should be used and what action
should be taken when a message cannot be delivered (Address[3]).
Possible delivery modes are:
......
......@@ -3058,6 +3058,7 @@ Det supportade protokollen
TCP/IP
UDP/IP
RabbitMQ
MQ (BEA Message Queue)
ALCM (ett Digital protokoll, modell äldre, supportas av historiska skäl)
Serial
......@@ -3105,6 +3106,7 @@ ligger som barn till RemNode-objektet.
<option> printdisable
UDP <link> udp_ip
TCP <link> tcp_ip
RabbitMQ <link> rabbit_mq
BEA Message Queue <link> bea_mq
Serial <link> serial
3964-R <link> 3964r
......@@ -3172,6 +3174,31 @@ RemNode-objektet avg
</topic>
<topic> rabbit_mq
RabbitMQ
RemnodeRabbitMQ konfigurerar transporter med meddelandehanteraren RabbitMQ.
Exchange, SendQueue och ReceiveQueue konfigureras i remnode-objektet. Köerna som inte exister
skapas av servern. Om Exchange inte är angiven används default exchange.
Username och password anges för att få tillgång till RabbitMQ servern. Användaren måste vara
definerad i servern med lämplig åtkomst. Detta kan göras med rabbitmqctl på servern, t ex
<c>> rabbitmqctl add_user myuser mypasswd
<c>> rabbitmqctl set_permissions -p / myuser .* .* .*
I RemTrans-objektet används Address[0] och Address[1] för att addressera ett sänt meddelande
till en viss RemTrans på mottagarnoden. Address[3] anger meddelandets 'delivery mode' där 2
är persistent och andra värden ej persistent.
Om ett meddelande ska återskapas efter ett server haveri, ska Durable vara satt i
RemoteRabbitMQ-objektet, och 'delivery mode' i RemTrans.Address[3] ska sättas till 2 (persistent).
Om meddelanden ska kunna överleva nätverksavbrott är en lämplig metod att skicka meddelanden till
en lokal rabbitmq-server och ta emot meddelanden från en server på sändande node. I det här fallet
behövs olika RemnodeRabbitMQ-objekt för sändning och mottagning, och rabbitmq severn måste startas
i båda noderna.
</topic>
<topic> bea_mq
MQ
RemnodeMQ är en transport för att skicka meddelanden med BEA Message Queue (BMQ). Det krävs att
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment