PHP » GoLang |
login |
register |
about
|
GoLang SAMConnection::send
request it (318)
GoLang replacement for PHP's SAMConnection::send
[edit | history]
SAMConnection::send(PECL sam >= 0.1.0) SAMConnection::send — Send a message to a queue or publish an item to a topic DescriptionThe "send" method is used to send a message to a specific queue or to publish to a specific topic. The method returns a correlation id that can be used as a selector to identify reply or response messages when these are requested. Parameters
Return Values
A correlation id string that can be used in a subsequent receive call as a
selector to obtain any reply or response that has been requested or
Examples
Example #1 Send a message to a queue
<?php
Example #2 Publish a message to a topic
<?php Example #3 Send a request and receive a response
<?php |
more
Recently updated
more
Most requested
more
Last requests
|