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

Questions about incomingQueue and blocking #291

Open
imaginator opened this issue Jan 29, 2015 · 0 comments
Open

Questions about incomingQueue and blocking #291

imaginator opened this issue Jan 29, 2015 · 0 comments

Comments

@imaginator
Copy link
Member

The following question came up:

in ChannelEngine the method processPacket() is adding incoming packet to incomingQueue. But the queue is implemented as BlockingQueue and for adding is put() used. The put works as it blocks if the queue is full. But there are other methods like add() that adds in not blocking manner and throws exception if the queue is full. In second case war could send error stanza back.

Can someone more "skilled in the art" comment on this?

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