LibraryToggle FramesPrintFeedback
Name Default Value Description
syncConsume false If set to true, when the journal is marked after a message is consumed, wait till the Operating System has verified the mark update is safely stored on disk.
syncProduce true If set to true, wait till the Operating System has verified the message is safely stored on disk.

The consumer of a Journal endpoint generates DefaultExchange objects with the In message set as follows:

  • journal header: set to the endpoint URI of the journal the message came from.

  • location header: set to a Location which identifies where the record was stored on disk.

  • Message body: set to ByteSequence, which contains the byte array data of the stored message.

The producer to a Journal endpoint expects an Exchange with an In message where the body can be converted to a ByteSequence or a byte[].

Comments powered by Disqus