Giter Club home page Giter Club logo

Comments (3)

videlalvaro avatar videlalvaro commented on July 19, 2024

When you are producer you publish to an exchange. You don't use queues on
the producer side.

Maybe this can help you understand the AMQP model:
http://www.rabbitmq.com/tutorials/amqp-concepts.html

At the same time if you use the underlying php-amqplib that's comes with
the bundle, then you can do any AMQP command you might need.

On Thu, Feb 2, 2012 at 2:52 PM, Thomas Tourlourat <
[email protected]

wrote:

Hi there,
I'm working with AMQP since few days.
I have build a Java application which use AMQP & do some little test with
phpamqp-lib out-of-box.

Right now, I'm trying to integrate the AMQP producer to our Symfony2
application.
I'm looking on your RabbitMqBundle.

The first question is about queue.
When work with AMQP, Producer & Consumer have to work with a specific
channel. This channel can be configure to use a specific queue_name. Isn't
it ?

The problem is, that I have not found any method to specify a queue_name
for the producer channel.

For the consumer, the configuration have a dedicated part for queue
options.. Like queue_name.

Thanks for help.


Reply to this email directly or view it on GitHub:
https://github.com/videlalvaro/RabbitMqBundle/issues/22

from rabbitmqbundle.

armetiz avatar armetiz commented on July 19, 2024

I'm looking your documentation, thanks for it.

Actually, I was thinking that producer use channel / queue name because of RabbitMQ example : http://www.rabbitmq.com/tutorials/tutorial-one-java.html

from rabbitmqbundle.

armetiz avatar armetiz commented on July 19, 2024

After reading document, I totally agree with you.

The RabbitMQ example create a queue when declaring producer to ensure that message will not be send to "trash". And the queue isn't mandatory.

See documentation :
"If we send a message to non-existing location, RabbitMQ will just trash the message. Let's create a queue to which the message will be delivered, let's name it hello:"

Thanks.

from rabbitmqbundle.

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.