Skip to content
This repository was archived by the owner on Sep 11, 2022. It is now read-only.
This repository was archived by the owner on Sep 11, 2022. It is now read-only.

Outer variables are not available in Channel scope due to block.call #224

@snowe2010

Description

@snowe2010

Trying to access variables created outside of the

AMQP::Channel.new do |channel|
end

block is impossible due to use of block.call to yield to the block. This is frustrating as I need to be able to access the parameters in the headers of the request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions