Hi Ramesh,
the servicemix-snmp provides support for receiving SNMP events message.
You can setup two kind of SNMP endpoints:
- a poller: the endpoint periodically poll a SNMP server to get event
and generate a message sent to the NMR. You define the URL of your SNMP
server and OID. Here is a sample:
<snmp:poller service="test:mySNMPService"
endpoint="pollerEndpoint"
targetService="test:myProcessor"
period="10000"
address="udp:192.168.2.122/161"
oids="classpath:myOIDList.txt" />
NB: the generated exchange is In-Only.
- a trap-consumer: the endpoint waits for incoming SNMP messages:
<snmp:trap-consumer service="test:mySNMPService"
endpoint="trapConsumerEndpoint"
targetService="test:myProcessor"
address="udp:192.168.2.122/162" />
Regards
JB
On 01/24/2011 08:11 AM, Ramesh Babu wrote:
hi, I am new to service mix. can u please tell me --> what is servicemix-snmp ?
-->
how to use it? --> and ,if u have any samples please share whit me. Thanks&
Regards Ramesh Babu.P Get email for your site ---> http://www.everyone.net