[ https://issues.apache.org/jira/browse/CAMEL-11363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reopened CAMEL-11363: --------------------------------- Something weird is going on and I reverted. I think due the iterator is changed order then it causes troubles in other places. We should focus on only use the deque in the hot spots in the routing engine, and then leave it as-is for the rest > Optimise - Use ArrayDeque instead of Stack > ------------------------------------------ > > Key: CAMEL-11363 > URL: https://issues.apache.org/jira/browse/CAMEL-11363 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Claus Ibsen > Assignee: John Poth > Fix For: 2.20.0 > > > There is some code that uses the very old java.util.Stack. We should use > ArrayDeque which is recommended. -- This message was sent by Atlassian JIRA (v6.3.15#6346)