You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Tracy Snell (JIRA)" <ji...@apache.org> on 2010/09/28 17:36:40 UTC

[jira] Created: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Create forthcoming Camel-JMX component documentation page
---------------------------------------------------------

                 Key: CAMEL-3172
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
             Project: Apache Camel
          Issue Type: New Feature
            Reporter: Tracy Snell
            Assignee: Tracy Snell
            Priority: Minor


We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63115#action_63115 ] 

Claus Ibsen commented on CAMEL-3172:
------------------------------------

Yeah Mark

Some examples from the unit test is a good idea. Its often how we do it. You can even add some SNIPPET comments in the source code.
And then have the wiki slurp the source code from SVN.

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Closed: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tracy Snell closed CAMEL-3172.
------------------------------

    Resolution: Fixed

Should be good to go.

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63387#action_63387 ] 

Tracy Snell commented on CAMEL-3172:
------------------------------------

testing camel-rss sorry

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63126#action_63126 ] 

Tracy Snell commented on CAMEL-3172:
------------------------------------

Nice! I didn't know about SNIPPET. Docs on how that works?

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63128#action_63128 ] 

Claus Ibsen commented on CAMEL-3172:
------------------------------------

I dont think we got docs on how the snippet works.

You can see this source file
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/DelayInterceptorTest.java

eg all you do is the START and END SNIPPET stuff.

Then in the wiki documentation you add the following to refer to it
{snippet:id=e1|lang=java|url=camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileFilterTest.java}

You can do this in XML files as well

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63083#action_63083 ] 

Claus Ibsen commented on CAMEL-3172:
------------------------------------

Thanks Tracy, do you mind creating an example as well? This helps the documentation.

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62564#action_62564 ] 

Tracy Snell commented on CAMEL-3172:
------------------------------------

h1.JMX Component
Component allows consumers to subscribe to an mbean's Notifications. The component supports passing the Notification object directly through the Exchange or serializing it to XML according to the schema provided within this project. This is a consumer only component. Exceptions are thrown if you attempt to create a producer for it.

h2.URI Format
The component can connect to the local platform mbean server with the following URI:

{code}jmx://platform?options{code}
A remote mbean server url can be provided following the initial JMX scheme like so:

{code}jmx:service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi?options{code}
You can append query options to the URI in the following format, ?options=value&option2=value&...

h2.Endpoint Properties
h3.Consumer Only Properties
||Property	||Required	||Default	||Description
|format	 |-	 |xml	 |Format for the message body. Either "xml" or "raw". If xml, the notification is serialized to xml. If raw, then the raw java object is set as the body.
|user	 |-	 |-	 |credentials for making a remote connection
|password	 |-	 |-	 |credentials for making a remote connection
|objectDomain	 |yes	 |-	 |The domain for the mbean you're connecting to
|objectName	 |-	 |-	 |The name key for the mbean you're connecting to. This value is mutually exclusive with the object properties that get passed. (see below)
|notificationFilter	 |-	 |-	 |Reference to a bean that implements the NotificationFilter?. The #ref syntax should be used to reference the bean via the spring or camel registry. This is mutually exclusive with the filterClass property.
|handback	 |-	 |-	 |Value to handback to the listener when a notification is received. This value will be put in the message header with the key "jmx.handback"

h3.ObjectName? Construction
The URI must always have the objectDomain property. In addition, the URI must contain either objectName or one or more properties that start with "key."

h3.Domain with Name property
When the objectName property is provided, the following constructor is used to build the ObjectName? for the mbean:

{code}ObjectName(String domain, String key, String value) {code}
The key value in the above will be "name" and the value will be the value of the objectName property.

h3.Domain with Hashtable
{code}ObjectName(String domain, Hashtable<String,String> table){code}
The Hashtable is constructed by extracting properties that start with "key." The properties will have the "key." prefixed stripped prior to building the Hashtable. This allows the URI to contain a variable number of properties to identify the mbean.

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Mark Ford (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63109#action_63109 ] 

Mark Ford commented on CAMEL-3172:
----------------------------------

Claus,

Are you looking for some samples for the wiki? If so, I could repurpose some of the unit tests to demonstrate the basic functionality. 

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Work started: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-3172 started by Tracy Snell.

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63385#action_63385 ] 

Tracy Snell commented on CAMEL-3172:
------------------------------------

example is live, I'll tie it in.

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Updated: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tracy Snell updated CAMEL-3172:
-------------------------------

    Comment: was deleted

(was: testing camel-rss sorry)

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Updated: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-3172:
-------------------------------

    Fix Version/s: 2.6.0

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63388#action_63388 ] 

Tracy Snell commented on CAMEL-3172:
------------------------------------

test

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63308#action_63308 ] 

Tracy Snell commented on CAMEL-3172:
------------------------------------

I created an example ( [jira 3330|https://issues.apache.org/activemq/browse/CAMEL-3330]) and added SNIPPET in there. I'll evolve that example and try to keep samples pulling from there to keep them auto updated to the current version.

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Commented: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63085#action_63085 ] 

Claus Ibsen commented on CAMEL-3172:
------------------------------------

The documentation is here
https://cwiki.apache.org/confluence/display/CAMEL/JMX

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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


[jira] Updated: (CAMEL-3172) Create forthcoming Camel-JMX component documentation page

Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tracy Snell updated CAMEL-3172:
-------------------------------

    Comment: was deleted

(was: test)

> Create forthcoming Camel-JMX component documentation page
> ---------------------------------------------------------
>
>                 Key: CAMEL-3172
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3172
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> We should have a JMX-Component in the next week or so. I'll start the documentation process keeping notes here until the component is released.

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