JiriOndrusek opened a new pull request, #4871:
URL: https://github.com/apache/camel-quarkus/pull/4871

   follows https://github.com/apache/camel-quarkus/pull/4870
   follows 
https://github.com/apache/camel-quarkus/pull/4867#issuecomment-1534290658
   
   Camel in `2.13.x`  brings `org.apache.servicemix.bundles.snmp4j` which 
causes random errors in snmp tests (with low resources). For example:
   - java.nio.BufferOverflowException
   - java.util.ConcurrentModificationException
   - The actual length of the SEQUENCE object org.snmp4j.PDUv1 is 11, but 14 
was expected
   
   Solution is to switch to `org.snmp4j.snmp4j` (by forcing in CQ BOM - which 
is purpose of this PR).
   There is different method signature (during call of ` 
SecurityModels.getInstance().addSecurityModel(this.usm);`, therefore both 
producers have to be recompiled in CQ. Because both classes contains a lot of 
private fileds, it was not possible to override only 1 method. Therefore both 
classes are copied from the Camel (without any change). If Camel 3.x in future 
contains `org.snmp4j.snmp4j`. This PR could be reverted.
   
   
   <!-- Uncomment and fill this section if your PR is not trivial
   [ ] An issue should be filed for the change unless this is a trivial change 
(fixing a typo or similar). One issue should ideally be fixed by not more than 
one commit and the other way round, each commit should fix just one issue, 
without pulling in other changes.
   [ ] Each commit in the pull request should have a meaningful and properly 
spelled subject line and body. Copying the title of the associated issue is 
typically enough. Please include the issue number in the commit message 
prefixed by #.
   [ ] The pull request description should explain what the pull request does, 
how, and why. If the info is available in the associated issue or some other 
external document, a link is enough.
   [ ] Phrases like Fix #<issueNumber> or Fixes #<issueNumber> will auto-close 
the named issue upon merging the pull request. Using them is typically a good 
idea.
   [ ] Please run mvn process-resources -Pformat (and amend the changes if 
necessary) before sending the pull request.
   [ ] Contributor guide is your good friend: 
https://camel.apache.org/camel-quarkus/latest/contributor-guide.html
   -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to