[
https://issues.apache.org/jira/browse/CAMEL-17482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otavio Rodolfo Piske closed CAMEL-17482.
----------------------------------------
Resolution: Won't Fix
I've tried a few things, but it actually made the behavior worse. So, let's
leave it like this since it has been working so far.
> camel-smpp: session handling is likely thread unsafe
> ----------------------------------------------------
>
> Key: CAMEL-17482
> URL: https://issues.apache.org/jira/browse/CAMEL-17482
> Project: Camel
> Issue Type: Bug
> Components: camel-smpp
> Affects Versions: 3.14.0, 3.15.0
> Reporter: Otavio Rodolfo Piske
> Assignee: Otavio Rodolfo Piske
> Priority: Major
>
> The session object[1] gets deleted [2] [3] and recreated [4] [5] in different
> threads. An unstable SMPP server causing quick state changes [6] can
> potentially cause the session object to be modified while another thread is
> accessing it.
>
> #
> [https://github.com/apache/camel/blob/main/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java#L53]
> #
> [https://github.com/apache/camel/blob/main/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java#L75]
> #
> [https://github.com/apache/camel/blob/main/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java#L141]
> #
> [https://github.com/apache/camel/blob/main/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java#L172]
> #
> [https://github.com/apache/camel/blob/main/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java#L153]
> #
> [https://github.com/apache/camel/blob/main/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java#L68-L78]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
