[jira] [Commented] (CAMEL-10719) Add ability to manage ThrottlingExceptionRoutePolicy through JMX

2018-01-21 Thread Mike Barlotta (JIRA)

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

Mike Barlotta commented on CAMEL-10719:
---

Answered here: 
[https://github.com/apache/camel/commit/4f65a942465d82acea52a5012c00bec81d1183e6#commitcomment-27002609]

> Add ability to manage ThrottlingExceptionRoutePolicy through JMX
> 
>
> Key: CAMEL-10719
> URL: https://issues.apache.org/jira/browse/CAMEL-10719
> Project: Camel
>  Issue Type: New Feature
>Reporter: Mike Barlotta
>Assignee: Claus Ibsen
>Priority: Major
> Fix For: 2.19.0
>
>
> add management via JMX to ThrottlingExceptionRoutePolicy route policy.
> See how we do it for the existing
> org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-10719) Add ability to manage ThrottlingExceptionRoutePolicy through JMX

2018-01-20 Thread Gajendra kumar jatav (JIRA)

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

Gajendra kumar jatav commented on CAMEL-10719:
--

Hi  i'm using ThrottlingExceptionRoutePolicy policy to detect availability of a 
web service and stop route for some time, but before onExchangeDone called 
error handler moves the current message to dead letter queue. I want to avoid 
putting messages to DLQ for specific situation which can be handled using 
ThrottlingExceptionRoutePolicy.
Is it possible with ThrottlingExceptionRoutePolicy not to put current message 
to DLQ where ThrottlingExceptionRoutePolicy needs to take action. 

> Add ability to manage ThrottlingExceptionRoutePolicy through JMX
> 
>
> Key: CAMEL-10719
> URL: https://issues.apache.org/jira/browse/CAMEL-10719
> Project: Camel
>  Issue Type: New Feature
>Reporter: Mike Barlotta
>Assignee: Claus Ibsen
>Priority: Major
> Fix For: 2.19.0
>
>
> add management via JMX to ThrottlingExceptionRoutePolicy route policy.
> See how we do it for the existing
> org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-10719) Add ability to manage ThrottlingExceptionRoutePolicy through JMX

2017-01-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CAMEL-10719:


Github user asfgit closed the pull request at:

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


> Add ability to manage ThrottlingExceptionRoutePolicy through JMX
> 
>
> Key: CAMEL-10719
> URL: https://issues.apache.org/jira/browse/CAMEL-10719
> Project: Camel
>  Issue Type: New Feature
>Reporter: Mike Barlotta
> Fix For: 2.19.0
>
>
> add management via JMX to ThrottlingExceptionRoutePolicy route policy.
> See how we do it for the existing
> org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CAMEL-10719) Add ability to manage ThrottlingExceptionRoutePolicy through JMX

2017-01-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CAMEL-10719:


GitHub user CodeSmell opened a pull request:

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

CAMEL-10719 add JMX management to ThrottlingExceptionRoutePolicy



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

$ git pull https://github.com/CodeSmell/camel CAMEL-10719

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

https://github.com/apache/camel/pull/1404.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 #1404


commit 62b3a0b86befb3ca954ef40ef71920764b804b08
Author: CodeSmell 
Date:   2017-01-17T21:22:27Z

CAMEL-10719 add JMX management to ThrottlingExceptionRoutePolicy




> Add ability to manage ThrottlingExceptionRoutePolicy through JMX
> 
>
> Key: CAMEL-10719
> URL: https://issues.apache.org/jira/browse/CAMEL-10719
> Project: Camel
>  Issue Type: New Feature
>Reporter: Mike Barlotta
>
> add management via JMX to ThrottlingExceptionRoutePolicy route policy.
> See how we do it for the existing
> org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CAMEL-10719) Add ability to manage ThrottlingExceptionRoutePolicy through JMX

2017-01-17 Thread Mike Barlotta (JIRA)

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

Mike Barlotta commented on CAMEL-10719:
---

Current PR 
https://github.com/apache/camel/pull/1404

> Add ability to manage ThrottlingExceptionRoutePolicy through JMX
> 
>
> Key: CAMEL-10719
> URL: https://issues.apache.org/jira/browse/CAMEL-10719
> Project: Camel
>  Issue Type: New Feature
>Reporter: Mike Barlotta
>
> add management via JMX to ThrottlingExceptionRoutePolicy route policy.
> See how we do it for the existing
> org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CAMEL-10719) Add ability to manage ThrottlingExceptionRoutePolicy through JMX

2017-01-17 Thread Mike Barlotta (JIRA)

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

Mike Barlotta commented on CAMEL-10719:
---

Another question:
Do we want to be able to force close or force open the circuit from JMX?

> Add ability to manage ThrottlingExceptionRoutePolicy through JMX
> 
>
> Key: CAMEL-10719
> URL: https://issues.apache.org/jira/browse/CAMEL-10719
> Project: Camel
>  Issue Type: New Feature
>Reporter: Mike Barlotta
>
> add management via JMX to ThrottlingExceptionRoutePolicy route policy.
> See how we do it for the existing
> org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CAMEL-10719) Add ability to manage ThrottlingExceptionRoutePolicy through JMX

2017-01-17 Thread Mike Barlotta (JIRA)

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

Mike Barlotta commented on CAMEL-10719:
---

Had a question re: logging and changing the logging levels via JMX management. 
The ThrottlingInflightRoutePolicy and corresponding management classes allow 
the logging level to be changed. 
This is affecting the CamelLogger on ThrottlingInflightRoutePolicy. However, 
the RoutePolicy is logging using a logger defined in RoutePolicySupport. Also 
looking around the code it looks like other managed classes do not allow 
changing of the log level. 

Was going to move forward and not add the ability to change the log level but 
wanted to check first.

> Add ability to manage ThrottlingExceptionRoutePolicy through JMX
> 
>
> Key: CAMEL-10719
> URL: https://issues.apache.org/jira/browse/CAMEL-10719
> Project: Camel
>  Issue Type: New Feature
>Reporter: Mike Barlotta
>
> add management via JMX to ThrottlingExceptionRoutePolicy route policy.
> See how we do it for the existing
> org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)