[ https://issues.apache.org/jira/browse/CAMEL-18980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682913#comment-17682913 ]
Federico Mariani commented on CAMEL-18980: ------------------------------------------ I had this issue too, in order to overcome this I've added [https://github.com/apache/camel/pull/9276/files#diff-ab8dac15f4541b82865994814a811bf193ab93178e18c159b6a642d97bd14c88R43] the PDUv1 toString is different compared to the PDU one, probably this is why the test was failing. > camel snmp - SNMP Ver1 trap does not work > ----------------------------------------- > > Key: CAMEL-18980 > URL: https://issues.apache.org/jira/browse/CAMEL-18980 > Project: Camel > Issue Type: Bug > Components: camel-snmp > Affects Versions: 3.20.1 > Reporter: hisao furuichi > Priority: Minor > Attachments: Snmpv1TrapTest.java > > > Although camel-snmp supports SNMP v1, v2, and v3 trap, v1 trap does not work > as expected. > By checking the test code for camel-snmp, v2 trap is only tested. > https://github.com/apache/camel/blob/camel-3.x/components/camel-snmp/src/test/java/org/apache/camel/component/snmp/TrapTest.java > Based on the TrapTest.java, I implemented a TrapTestSnmpv1.java. Please use > the test code for this issue. -- This message was sent by Atlassian Jira (v8.20.10#820010)