You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Mathieu Lalonde (JIRA)" <ji...@apache.org> on 2011/08/30 02:18:37 UTC

[jira] [Issue Comment Edited] (CAMEL-4332) camel-nagios - Use Camel type converter to convert message body to String before sending to Nagios

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

Mathieu Lalonde edited comment on CAMEL-4332 at 8/30/11 12:17 AM:
------------------------------------------------------------------

Please ignore the previous patch and use this contribution instead.

      was (Author: mrlalonde):
    Please ignore the previous patch and use this one instead.
  
> camel-nagios - Use Camel type converter to convert message body to String before sending to Nagios
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4332
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4332
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Claus Ibsen
>            Priority: Trivial
>             Fix For: Future
>
>         Attachments: camel-nagios_test-contribution.tar, camel-nagios_test-patch.tar
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Sending-Nagios-Passive-Checks-from-Spring-HowTo-tp4694564p4694564.html
> If people route a payload which is not already a String, we should convert that to a String beforehand sending to Nagios.
> In the nabble link the user routes from file -> nagios. And thus the payload is a java.io.File instead.
> All needed is to use the Camel type converter to convert to String first.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira