[jira] Created: (CAMEL-906) JmsProducer - option requestTimeout isn't configured properly

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-906) JmsProducer - option requestTimeout isn't configured properly

JIRA jira@apache.org
JmsProducer - option requestTimeout isn't configured properly
-------------------------------------------------------------

                 Key: CAMEL-906
                 URL: https://issues.apache.org/activemq/browse/CAMEL-906
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-jms
    Affects Versions: 1.4.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 1.5.0


When sending a JMS message to a destination using camel-jms (JMSProducer) I can't get it to use my requestTimeout option in the endpoint configuration. It always default to 20000.

{code}
template.requestBody("activemq:queue:slow?requestTimeout=1000", "Hello World");
{code}

This doesn't work as expected with a timeout of only 1 sec.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Work started: (CAMEL-906) JmsProducer - option requestTimeout isn't configured properly

JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-906 started by Claus Ibsen.

> JmsProducer - option requestTimeout isn't configured properly
> -------------------------------------------------------------
>
>                 Key: CAMEL-906
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-906
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> When sending a JMS message to a destination using camel-jms (JMSProducer) I can't get it to use my requestTimeout option in the endpoint configuration. It always default to 20000.
> {code}
> template.requestBody("activemq:queue:slow?requestTimeout=1000", "Hello World");
> {code}
> This doesn't work as expected with a timeout of only 1 sec.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-906) JmsProducer - option requestTimeout isn't configured properly

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-906.
-------------------------------

    Resolution: Fixed

Fixed and added the option to the wiki and a small sample as well.

> JmsProducer - option requestTimeout isn't configured properly
> -------------------------------------------------------------
>
>                 Key: CAMEL-906
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-906
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> When sending a JMS message to a destination using camel-jms (JMSProducer) I can't get it to use my requestTimeout option in the endpoint configuration. It always default to 20000.
> {code}
> template.requestBody("activemq:queue:slow?requestTimeout=1000", "Hello World");
> {code}
> This doesn't work as expected with a timeout of only 1 sec.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.