[ 
https://issues.apache.org/jira/browse/CAMEL-11881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193976#comment-16193976
 ] 

ASF GitHub Bot commented on CAMEL-11881:
----------------------------------------

GitHub user hveiga opened a pull request:

    https://github.com/apache/camel/pull/2010

    CAMEL-11881: Handling special arguments when declaring queues

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hveiga/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2010.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2010
    
----
commit b57737e236dabf0ebf620ee9de6af9831cfe043e
Author: Veiga Ortiz, Héctor <[email protected]>
Date:   2017-10-06T00:16:32Z

    CAMEL-11881: Handling special arguments when declaring queues

----


> Queue/Exchange parameters need to be numeric when declaring in RabbitMQ
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-11881
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11881
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rabbitmq
>    Affects Versions: 2.19.3
>            Reporter: Hector Veiga
>             Fix For: 2.19.4, 2.20.0
>
>
>  I am having a small issue with camel-rabbitmq component. I am trying to add 
> a ttl to the declaration of my queue by adding the option 
> arg.queue.x-message-ttl=5000 to the URI. That seems fine, however it seems 
> camel parses 5000 as a String instead of an Integer and therefore I am 
> getting an error when doing the declaration: 
> reply-code=406, reply-text=PRECONDITION_FAILED - invalid arg 'x-message-ttl' 
> for queue 'XXXX' in vhost '/': {unacceptable_type,longstr}, class-id=50, 
> method-id=10)
> We should add some special code to turn those values from String to Long 
> before declaring. I will compile the list, add it here and work on a patch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to