camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-7448) throttle EIP - unchanged value
Date Sun, 06 Jul 2014 04:30:34 GMT

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

Willem Jiang updated CAMEL-7448:
--------------------------------

    Fix Version/s:     (was: 2.13.2)
                   2.13.3

> throttle EIP - unchanged value
> ------------------------------
>
>                 Key: CAMEL-7448
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7448
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, eip
>    Affects Versions: 2.13.1
>            Reporter: Elvio Caruana
>            Assignee: Ben O'Day
>            Priority: Minor
>             Fix For: 2.13.3, 2.14.0
>
>
> Throttler Documentation [1] states "If the header is absent, then the Throttler uses
the old value. So that allows you to only provide a header if the  value is to be changed".
> however if the expression evaluates to null (header missing from message) the Throttler
throws an exception (Throttler.java:108).
> The workaround is to ensure that all messages carry the value (if the value is the same
no changes will take affect). Adding an option to turn this on and off (e.g. allowNullException)
would make it much easier to use (as per camel-users thread [2]).
> [1] http://camel.apache.org/throttler.html
> [2] http://camel.465427.n5.nabble.com/throttle-EIP-unchanged-value-td5751300.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message