Did you know ...
Search Documentation:
Predicate stomp_nack/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
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)
[det]
stomp_ack
(
+Connection, +MsgHeader
)
[det]
stomp_nack
(
+Connection, +MsgHeader
)
Reply with an ACK or NACK based on the received message header. On a STOMP 1.1 request we get an
ack
field in the header and reply with an
id
. For STOMP 1.2 we reply with the
message-id
and
subscription
that we received with the message.