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

hisao furuichi commented on CAMEL-18980:
----------------------------------------

Hello. My bad. there is some difference in SnmpTrapProducer.java. It works fine 
now :)
{code:java}
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.camel.component.snmp.Snmpv1TrapTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.679 s 
- in org.apache.camel.component.snmp.Snmpv1TrapTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:26 min
[INFO] Finished at: 2023-02-06T08:47:08+09:00
[INFO] ------------------------------------------------------------------------
 {code}

> 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
>            Assignee: Federico Mariani
>            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)

Reply via email to