Hello,



I have a doubt about jBoss and RabbitMQ.



It's possible to jBoss consume or deliver a message to RabbitMQ?



I'm looking for some solution that doesn't use threads inside
application server.



--

Fernando Dourado





Pontos de vista e opini?es inclusos nesta mensagem s?o de responsabilidade do remetente a menos que claramente mencionado como originados pelas Empresas do Conglomerado Fator. Comunica??es pela internet n?o podem ser garantidas quanto ? sua seguran?a ou inexist?ncia de erros e v?rus. As empresas controladas pelo Banco Fator, por esta raz?o, n?o assumem responsabilidade por qualquer erro ou omiss?o no contexto da mensagem, decorrente da transmiss?o via internet. Essa mensagem pode conter informa??o confidencial. Se voc? n?o for o destinat?rio ou a pessoa autorizada a receber esta mensagem, n?o poder? usar, copiar ou divulgar as informa??es nela contidas ou tomar qualquer a??o baseada nessas informa??es. Se voc? recebeu esta mensagem por engano, por favor, avise imediatamente o remetente, respondendo este e-mail e em seguida apagando-o. Agradecemos a sua coopera??o.
SAC: 0800 770 7229 ou sac at bancofator.com.br
Ouvidoria Fator: 0800-77-32867 (memorize: 0800-77-FATOR)
email : ouvidoria at bancofator.com.br
carta: Rua Dr. Renato Paes de Barros, 1017, 12o.andar ? Itaim Bibi - S?o Paulo ? SP ? 04530-001.

Points of view and opinions herein expressed are the responsibility of sender unless clearly stated otherwise as having been originated in companies of the Fator Conglomerate. Communications via the Internet cannot be guaranteed with regards to safety or the absence of errors and viruses. For this reason, Banco Fator-controlled companies shall not assume responsibility for errors or omissions in the context of a transmission via the Internet. This e-mail may be confidential. If you are not the intended recipient or the authorized person to receive this message, you may not use, copy or publicize information therein contained or take any action based on such information. If you are not the intended addressee, please advise sender immediately by replying to this e-mail and delete if obtained in error. We appreciate your cooperation.
Customer Care: 0800 770 7229 or sac at bancofator.com.br Fator
Ombudsperson: 0800-77-32867 (remember: 800-77-FATOR)
or by email: ouvidoria at bancofator.com.br
or by letter: Rua Dr. Renato Paes de Barros, 1017, 12o. andar ? Itaim Bibi - S?o Paulo ? SP ? 04530-001 .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101105/0a795724/attachment-0001.htm>

Search Discussions

  • Rob at Nov 8, 2010 at 1:16 pm

    On Fri, 5 Nov 2010 17:26:08 -0200, "Fernando Rodrigo Chagas Dourado" wrote:
    Hello,



    I have a doubt about jBoss and RabbitMQ.



    It's possible to jBoss consume or deliver a message to RabbitMQ?



    I'm looking for some solution that doesn't use threads inside
    application server.



    --

    Fernando Dourado
    Fernando,

    Any application you can deploy to JBoss can consume and deliver messages
    to RabbitMQ using the Java Client.

    Creating a connection to the broker requires that a single thread be
    created for managing the conversation with the broker. You can reuse this
    same connection across any number of your application threads.

    If you are looking for a solution that doesn't create any threads at all,
    then you can use the STOMP adapter to send messages into the server. You
    can do this in the same thread that your application code is running on.

    You can consume messages using STOMP as well but doing so without a
    dedicated TCP thread is going to be messy and unreliable.

    I hope this helps.

    Regards,

    Rob
  • Fernando Rodrigo Chagas Dourado at Nov 9, 2010 at 12:02 pm
    Thanks Rob,

    I hope in the future JBoss implement a client to consume AMQP messages more easy.

    Like a annotation @AMQPClient at class scope.

    :)

    Fernando Dourado


    -----Mensagem original-----
    De: rob [mailto:rob at rabbitmq.com]
    Enviada em: segunda-feira, 8 de novembro de 2010 11:16
    Para: Fernando Rodrigo Chagas Dourado
    Cc: rabbitmq-discuss at lists.rabbitmq.com
    Assunto: Re: [rabbitmq-discuss] JBoss and RabbitMQ

    On Fri, 5 Nov 2010 17:26:08 -0200, "Fernando Rodrigo Chagas Dourado"
    wrote:
    Hello,



    I have a doubt about jBoss and RabbitMQ.



    It's possible to jBoss consume or deliver a message to RabbitMQ?



    I'm looking for some solution that doesn't use threads inside
    application server.



    --

    Fernando Dourado
    Fernando,

    Any application you can deploy to JBoss can consume and deliver messages
    to RabbitMQ using the Java Client.

    Creating a connection to the broker requires that a single thread be
    created for managing the conversation with the broker. You can reuse this
    same connection across any number of your application threads.

    If you are looking for a solution that doesn't create any threads at all,
    then you can use the STOMP adapter to send messages into the server. You
    can do this in the same thread that your application code is running on.

    You can consume messages using STOMP as well but doing so without a
    dedicated TCP thread is going to be messy and unreliable.

    I hope this helps.

    Regards,

    Rob



    Pontos de vista e opini?es inclusos nesta mensagem s?o de responsabilidade do remetente a menos que claramente mencionado como originados pelas Empresas do Conglomerado Fator. Comunica??es pela internet n?o podem ser garantidas quanto ? sua seguran?a ou inexist?ncia de erros e v?rus. As empresas controladas pelo Banco Fator, por esta raz?o, n?o assumem responsabilidade por qualquer erro ou omiss?o no contexto da mensagem, decorrente da transmiss?o via internet. Essa mensagem pode conter informa??o confidencial. Se voc? n?o for o destinat?rio ou a pessoa autorizada a receber esta mensagem, n?o poder? usar, copiar ou divulgar as informa??es nela contidas ou tomar qualquer a??o baseada nessas informa??es. Se voc? recebeu esta mensagem por engano, por favor, avise imediatamente o remetente, respondendo este e-mail e em seguida apagando-o. Agradecemos a sua coopera??o.
    SAC: 0800 770 7229 ou sac at bancofator.com.br
    Ouvidoria Fator: 0800-77-32867 (memorize: 0800-77-FATOR)
    email : ouvidoria at bancofator.com.br
    carta: Rua Dr. Renato Paes de Barros, 1017, 12o.andar ? Itaim Bibi - S?o Paulo ? SP ? 04530-001.

    Points of view and opinions herein expressed are the responsibility of sender unless clearly stated otherwise as having been originated in companies of the Fator Conglomerate. Communications via the Internet cannot be guaranteed with regards to safety or the absence of errors and viruses. For this reason, Banco Fator-controlled companies shall not assume responsibility for errors or omissions in the context of a transmission via the Internet. This e-mail may be confidential. If you are not the intended recipient or the authorized person to receive this message, you may not use, copy or publicize information therein contained or take any action based on such information. If you are not the intended addressee, please advise sender immediately by replying to this e-mail and delete if obtained in error. We appreciate your cooperation.
    Customer Care: 0800 770 7229 or sac at bancofator.com.br Fator
    Ombudsperson: 0800-77-32867 (remember: 800-77-FATOR)
    or by email: ouvidoria at bancofator.com.br
    or by letter: Rua Dr. Renato Paes de Barros, 1017, 12o. andar ? Itaim Bibi - S?o Paulo ? SP ? 04530-001 .

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedNov 5, '10 at 7:26p
activeNov 9, '10 at 12:02p
posts3
users2
websiterabbitmq.com
irc#rabbitmq

People

Translate

site design / logo © 2022 Grokbase