forked from ewaters/poe-component-client-amqp
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Channel create and close improvements
AMQP->channel() now allows user opts. Waiting for synchronous method responses is now keyed on channel. Server input that is not channel 0 will now go to the Channel, regardless of other handling by the server_input() method. Added 'CascadeFailure' and 'CloseCallback' to Channel->create() opts to allow for a) the server connection to be closed if the channel closes and b) a user callback to trigger if the channel closes. Better handling for channel close events, allowing a channel number to be reused. Added explicit method close().
- Loading branch information
Showing
2 changed files
with
118 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters