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

Add possibility to customize Exchange creation #79

Merged
merged 2 commits into from
Feb 22, 2019

Conversation

Kralizek
Copy link
Member

RabbitMQ options now support the properties CommandExchange and EventExchange.

Here is a sample of the configuration layout

{
    "Nybus": {
        "RabbitMq": {
            "CommandExchange": {
                "IsDurable": true,
                "IsAutoDelete": false,
                "Properties": {
                    "some-property": "a value",
                    "some-other-property": "another value"
                }
            },
            "EventExchange": {
                "IsDurable": false,
                "IsAutoDelete": true,
                "Properties": {
                    "some-property": "a value",
                    "some-other-property": "another value"
                }
            }
        }
    }
}

Fixes #75

@Kralizek Kralizek merged commit 9f0324c into Nybus-project:master Feb 22, 2019
@Kralizek Kralizek deleted the exchange branch February 22, 2019 18:16
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

Successfully merging this pull request may close these issues.

None yet

1 participant