James Netherton created CAMEL-12272:
---------------------------------------

             Summary: PgEventEndpoint should handle wrapped connections
                 Key: CAMEL-12272
                 URL: https://issues.apache.org/jira/browse/CAMEL-12272
             Project: Camel
          Issue Type: Improvement
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 2.21.0


PgEventEndpoint tries to cast connections obtained via a DataSource to 
PGConnection. In some environments where the DataSource is managed by a 
container, the connection object may be a wrapper for the original connection. 
We should check if the connection is wrapped and do an unwrap to avoid 
ClassCastExceptions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to