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

Use same binding again #197

Open
vatsalnarry2 opened this issue Sep 16, 2023 · 1 comment
Open

Use same binding again #197

vatsalnarry2 opened this issue Sep 16, 2023 · 1 comment

Comments

@vatsalnarry2
Copy link

hi ,

We are binding each time to smsc server and send an sms, when more transaction are coming from consumer, java application throw negative bind error.
I want to know is there any way to use existing connection instead of using conenctAndBind() method repeatedly

@pmoerenhout
Copy link
Member

Yes, this is the preferred method. You should do some link management, and re-use an existing connection.

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

No branches or pull requests

2 participants