Skip to content

Probleme with AmqpDriver when setup-brocker #1047

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

Closed
abdel-fl opened this issue Apr 14, 2020 · 2 comments
Closed

Probleme with AmqpDriver when setup-brocker #1047

abdel-fl opened this issue Apr 14, 2020 · 2 comments
Labels

Comments

@abdel-fl
Copy link

Using Amqp driver with enqueue bundle, i can't setup an exchange with a different type (topic, fanout, direct) and set binding key.

After reading code, i see that the exchange type is set to fanout when setup-broker : https://github.com/php-enqueue/enqueue/blob/master/Client/Driver/AmqpDriver.php#L104.

Is there a way to change this to have some flexibility on my config ?

Example :

public static function getSubscribedCommand()
    {
        return [
            'command' => self::QUEUE_NAME,
            'queue' => self::QUEUE_NAME,
            'prefix_queue' => false,
            'exclusive' => true,
            'exchange_name' => self::EXCHANGE_NAME,
            'exchange_type' => AmqpTopic::TYPE_TOPIC,
            'routing_key' => self::ROUTING_KEY,
        ];
    }
@makasim
Copy link
Member

makasim commented Apr 14, 2020

You have some options:

@stale
Copy link

stale bot commented May 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 14, 2020
@stale stale bot closed this as completed May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants