Coder Social home page Coder Social logo

Comments (7)

Umair-Qadeer avatar Umair-Qadeer commented on September 4, 2024 2

Hi @dfoster-cb911,

Try this. This works for me.

enqueue:
  default:
    transport: '%env(ENQUEUE_DSN)%'
    client: ~

from messenger-enqueue-transport.

makasim avatar makasim commented on September 4, 2024

Have you registered\configured Enqueue bundle?

from messenger-enqueue-transport.

Umair-Qadeer avatar Umair-Qadeer commented on September 4, 2024

Ahh, You are right. Thanks
I am new to Symfony and these packages.
Now I am stuck at configurations. :(
Here is my enqueue.yaml config file code

#config/packages/enqueue.yaml
enqueue:
amqp:
transport: 'amqp://guest:guest@localhost:5672'
client:
transport: ~
default_client:
transport: ~

Now i am getting Following error:

[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
You have requested a non-existent parameter "enqueue.default_client".

What are these config variable for? Don't know what to do about this.

Thanks again.

from messenger-enqueue-transport.

weaverryan avatar weaverryan commented on September 4, 2024

Please let us know if it's still not working

from messenger-enqueue-transport.

dfoster-cb911 avatar dfoster-cb911 commented on September 4, 2024

@Umair-Qadeer mentioned he still had the issue of:

[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
You have requested a non-existent parameter "enqueue.default_client".

This is actually something that I am dealing with right now on symfony 4.2 flex. Enqueue bundle and sqs packages are installed, it skips over setting the enqueue.default_client service if there is no $defaultClient set, which is also only set if there are $clientNames available to choose from.

In my process the client names variable is an empty array, so it never gets set.

How can I set these for sqs?

from messenger-enqueue-transport.

dfoster-cb911 avatar dfoster-cb911 commented on September 4, 2024

Ok great, this has worked for me, @Umair-Qadeer . Thank you kindly.

from messenger-enqueue-transport.

Umair-Qadeer avatar Umair-Qadeer commented on September 4, 2024

No problem.
I have posted this on another issue. you should have found that on google.

from messenger-enqueue-transport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.