You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/08/25 15:01:50 UTC

[jira] Commented: (CAMEL-862) allow messages to be sent to an Endpoint over JMX

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

Claus Ibsen commented on CAMEL-862:
-----------------------------------

What is the use case for this?

Using a local jconsole we could expose sendBody / requestBody etc. on the Managed CamelContext so you can send in any string body to any endpoint of choice.
But again what is the benefit and use case?

> allow messages to be sent to an Endpoint over JMX
> -------------------------------------------------
>
>                 Key: CAMEL-862
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-862
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: jmx
>            Reporter: James Strachan
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.1.0
>
>
> to support JMX and remote JMX we'll have to be careful.
> Maybe we write a simple MXBean that lets us send a simple, concrete, String based payload?
> e.g. something kinda like this...
> {code}
> public class ExchangeMXBean {
>   private MessageMXBean in;  
>  private MessageMXBean out;
> ...
> }
> public class MessageMXBean {
>   String body;
>   String actualBodyType;
>   Map<String,String> headers;
> }
> {code}
> i.e. so over JMX (and remote JMX) we'd be able to send/receive Camel messages

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