| h1. servicemix-snmp |
| |
| h2. Overview |
| The ServiceMix SNMP component provides support for receiving SNMP events via the enterprise service bus by using the SNMP4J library. |
| |
| h3. Namespace and xbean.xml |
| The namespace URI for the servicemix-bean JBI component is {{http://servicemix.apache.org/snmp/1.0}}. This is an example of <filename>xbean.xml</filename> file with a namespace definition with prefix {{bean}}. |
| {code} |
| <beans xmlns:snmp="http://servicemix.apache.org/snmp/1.0"> |
| |
| <!-- add snmp:poller or snmp:sender definitions here --> |
| |
| </beans> |
| {code} |
| |
| h3. Endpoint types |
| The servicemix-snmp component defines two endpoint types: |
| - {{snmp:poller}} :: Periodically polls a device status using SNMP and sends the OIDs as a JBI MessageExchange |
| - {{snmp:trap-consumer}} :: Consumes an SNMP trap message and sends the OIDs as a JBI MessageExchange |
| |