[
https://issues.apache.org/jira/browse/CAMEL-20674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837127#comment-17837127
]
Claus Ibsen commented on CAMEL-20674:
-------------------------------------
See also
https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/Snmp.20delay
> camel-core - XML DSL should trim endpoint uris
> ----------------------------------------------
>
> Key: CAMEL-20674
> URL: https://issues.apache.org/jira/browse/CAMEL-20674
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.6.0
>
>
> If you try to run this
> {code}
> <route id="poll-for-sn-and-up-time">
> <from uri="snmp:111.222.333.444:161?protocol=udp
> &type=POLL
> &repeatCount=5
> &timeout=1000
> &delay=10000
> &timeUnit=MILLISECONDS
> &oids= 1.3.6.1.2.1.43.5.1.1.17.1,
> 1.3.6.1.2.1.1.3.0"/>
> <log message="POLL ${headers} ${body}"/>
> <to uri="mock:polling"/>
> </route>
> {code}
> via camel run thefile.xml
> then it fails due to trailing whitespace from the break-down of the uri.
> We should trim the lines for endpoint uris
--
This message was sent by Atlassian Jira
(v8.20.10#820010)