Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync parameter in send() #15

Open
paddycarman opened this issue Aug 24, 2012 · 0 comments
Open

sync parameter in send() #15

paddycarman opened this issue Aug 24, 2012 · 0 comments

Comments

@paddycarman
Copy link

Hi All,
I would like to understand the behavior of stomp-php send() based on the sync parameter value. After looking through the code, my understanding is:
. If sync=false (default), no receipt is required from the server
. if sync=true, send() will wait till the receipt is received from the server

Please let me know if my understanding correct?

The "sync" name threw me off course :) I thought it decides if it is a synchronous Vs. asynchronous wait for receipt.

I apologize for posting this here as I'm unaware of any mailing list for discussing general issues. Please let me know if there is one.

Thanks,
PC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant