You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2023/04/27 12:52:00 UTC

[jira] [Created] (CAMEL-19298) Snmp: version 3 is not supported for several action for the component

Jiri Ondrusek created CAMEL-19298:
-------------------------------------

             Summary: Snmp: version 3 is not supported for several action for the component
                 Key: CAMEL-19298
                 URL: https://issues.apache.org/jira/browse/CAMEL-19298
             Project: Camel
          Issue Type: Bug
          Components: camel-snmp
    Affects Versions: 4.0-M3
            Reporter: Jiri Ondrusek
            Assignee: Jiri Ondrusek


In snmp component, users can use versions 0.1 and 2 (using values from the [documentation|https://camel.apache.org/components/3.20.x/snmp-component.html#_endpoint_query_option_snmpVersion]).

Version 3 is not supported for several actions (like provide PDU or get next)
To support this version on component, different PDU class has to be used. (for example here https://github.com/apache/camel/blob/main/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/SnmpProducer.java#L85)

There is a test coverage (creation in progress) in camel-quarkus, which could be used as a reproducer simulating missing scenarios - https://github.com/apache/camel-quarkus/issues/4797



--
This message was sent by Atlassian Jira
(v8.20.10#820010)