1.2 Reconnecting
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • STOMP -- a SWI-Prolog STOMP client
        • library(stomp): STOMP client.
          • Reconnecting
            • stomp_connection/5
            • stomp_connection/6
            • stomp_connection_property/2
            • stomp_destroy_connection/1
            • stomp_setup/2
            • stomp_teardown/1
            • stomp_reconnect/1
            • stomp_connect/1
            • stomp_connect/2
            • stomp_send/4
            • stomp_send_json/4
            • stomp_subscribe/4
            • stomp_unsubscribe/2
            • stomp_ack/3
            • stomp_nack/3
            • stomp_ack/2
            • stomp_nack/2
            • stomp_begin/2
            • stomp_commit/2
            • stomp_abort/2
            • stomp_transaction/2
            • stomp_disconnect/2
Availability::- use_module(library(stomp)).(can be autoloaded)
Source[semidet]stomp_transaction(+Connection, :Goal)
Run Goal as once/1, tagging all SEND messages inside the transaction with the transaction id. If Goal fails or raises an exception the transaction is aborted. Failure or exceptions cause the transaction to be aborted using stomp_abort/2, after which the result is forwarded.