You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by titexe <ti...@yahoo.Fr> on 2010/04/28 15:36:02 UTC
Camel : Nagios & Spring XML
Hello,
in the wiki page , i found the configuration of the Nagios component in DSL
?
it's possible to configure it , in the XML Spring ?
Thanks in advance,
--
View this message in context: http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28387966.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel : Nagios & Spring XML
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
See the wiki page which have an example to send a CRITICAL message
http://camel.apache.org/nagios.html
On Thu, Apr 29, 2010 at 12:31 PM, titexe <ti...@yahoo.fr> wrote:
>
> Thank you for your response,
>
> But for this : template.sendBody("direct:start", "Hello Nagios");
>
> How we can do it, in Spring DSL ?
>
> And how to send other level "critical,warn" in spring DSL ?
>
> Thank you in advance,
>
>
>
> cmoulliard wrote:
>>
>> Hi titexe,
>>
>> The tag <nagios> does not exist but you can design your route in
>> spring DSL like this :
>>
>> <from uri="direct:start"/>
>> <to uri="nagios:127.0.0.1:5667?password=secret"/>
>> ...
>>
>> Kind regards,
>>
>> Charles Moulliard
>>
>> Senior Enterprise Architect (J2EE, .NET, SOA)
>> Apache Camel Committer
>>
>> *******************************************************************
>> - Blog : http://cmoulliard.blogspot.com
>> - Twitter : http://twitter.com/cmoulliard
>> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>>
>>
>>
>> On Wed, Apr 28, 2010 at 3:36 PM, titexe <ti...@yahoo.fr> wrote:
>>>
>>> Hello,
>>>
>>> in the wiki page , i found the configuration of the Nagios component in
>>> DSL
>>> ?
>>>
>>> it's possible to configure it , in the XML Spring ?
>>>
>>> Thanks in advance,
>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28387966.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -----
>> Charles Moulliard
>> SOA Architect
>>
>> My Blog : http://cmoulliard.blogspot.com/
>>
>
> --
> View this message in context: http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28398884.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Re: Camel : Nagios & Spring XML
Posted by Charles Moulliard <cm...@gmail.com>.
Hi Titexe,
template.sendBody("direct:start", "Hello Nagios"); is a method
available from ProducerTemplate.
To produce messages using Spring DSL, you must create a camel bean
where message will be generated and where body value will be setted.
Here is the links of camel doc where you see How to design such a Producer :
- http://camel.apache.org/pojo-producing.html
- http://camel.apache.org/polling-consumer.html
Kind regards,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel Committer
*******************************************************************
- Blog : http://cmoulliard.blogspot.com
- Twitter : http://twitter.com/cmoulliard
- Linkedlin : http://www.linkedin.com/in/charlesmoulliard
On Thu, Apr 29, 2010 at 12:31 PM, titexe <ti...@yahoo.fr> wrote:
>
> Thank you for your response,
>
> But for this : template.sendBody("direct:start", "Hello Nagios");
>
> How we can do it, in Spring DSL ?
>
> And how to send other level "critical,warn" in spring DSL ?
>
> Thank you in advance,
>
>
>
> cmoulliard wrote:
>>
>> Hi titexe,
>>
>> The tag <nagios> does not exist but you can design your route in
>> spring DSL like this :
>>
>> <from uri="direct:start"/>
>> <to uri="nagios:127.0.0.1:5667?password=secret"/>
>> ...
>>
>> Kind regards,
>>
>> Charles Moulliard
>>
>> Senior Enterprise Architect (J2EE, .NET, SOA)
>> Apache Camel Committer
>>
>> *******************************************************************
>> - Blog : http://cmoulliard.blogspot.com
>> - Twitter : http://twitter.com/cmoulliard
>> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>>
>>
>>
>> On Wed, Apr 28, 2010 at 3:36 PM, titexe <ti...@yahoo.fr> wrote:
>>>
>>> Hello,
>>>
>>> in the wiki page , i found the configuration of the Nagios component in
>>> DSL
>>> ?
>>>
>>> it's possible to configure it , in the XML Spring ?
>>>
>>> Thanks in advance,
>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28387966.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -----
>> Charles Moulliard
>> SOA Architect
>>
>> My Blog : http://cmoulliard.blogspot.com/
>>
>
> --
> View this message in context: http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28398884.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
Re: Camel : Nagios & Spring XML
Posted by titexe <ti...@yahoo.Fr>.
Thank you for your response,
But for this : template.sendBody("direct:start", "Hello Nagios");
How we can do it, in Spring DSL ?
And how to send other level "critical,warn" in spring DSL ?
Thank you in advance,
cmoulliard wrote:
>
> Hi titexe,
>
> The tag <nagios> does not exist but you can design your route in
> spring DSL like this :
>
> <from uri="direct:start"/>
> <to uri="nagios:127.0.0.1:5667?password=secret"/>
> ...
>
> Kind regards,
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel Committer
>
> *******************************************************************
> - Blog : http://cmoulliard.blogspot.com
> - Twitter : http://twitter.com/cmoulliard
> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
>
>
> On Wed, Apr 28, 2010 at 3:36 PM, titexe <ti...@yahoo.fr> wrote:
>>
>> Hello,
>>
>> in the wiki page , i found the configuration of the Nagios component in
>> DSL
>> ?
>>
>> it's possible to configure it , in the XML Spring ?
>>
>> Thanks in advance,
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28387966.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>
>
> -----
> Charles Moulliard
> SOA Architect
>
> My Blog : http://cmoulliard.blogspot.com/
>
--
View this message in context: http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28398884.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel : Nagios & Spring XML
Posted by Charles Moulliard <cm...@gmail.com>.
Hi titexe,
The tag <nagios> does not exist but you can design your route in
spring DSL like this :
<from uri="direct:start"/>
<to uri="nagios:127.0.0.1:5667?password=secret"/>
...
Kind regards,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel Committer
*******************************************************************
- Blog : http://cmoulliard.blogspot.com
- Twitter : http://twitter.com/cmoulliard
- Linkedlin : http://www.linkedin.com/in/charlesmoulliard
On Wed, Apr 28, 2010 at 3:36 PM, titexe <ti...@yahoo.fr> wrote:
>
> Hello,
>
> in the wiki page , i found the configuration of the Nagios component in DSL
> ?
>
> it's possible to configure it , in the XML Spring ?
>
> Thanks in advance,
>
>
> --
> View this message in context: http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28387966.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>