Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
fix: remove custom connection manager for HTTP component (#40)
Browse files Browse the repository at this point in the history
* fix: remove custom connection manager for HTTP component

* docs: update CHANGELOG.md and increase version in POM

* docs: remove SNAPSHOT from version

* docs: add date to CHANGELOG.md

* fix: increse only last number in version

* Update CHANGELOG.md
  • Loading branch information
ronjaquensel authored Jun 18, 2021
1 parent 7e7aabd commit 358f2df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file.

## [1.1.1] - 2021-06-18

### Changed

- Change Postgres version to 42.2.22.

### Fixed

- Remove custom connection manager for HTTP component, to allow using HTTP URLs.

## [1.1.0] - 2021-06-14

### Added
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<properties>
<!-- General -->
<revision>1.1.0</revision>
<revision>1.1.1</revision>
<email>[email protected]</email>

<!-- Build info -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ public void configureTruststore() throws IOException, CertificateException,

final var connectionManager = new PoolingHttpClientConnectionManager(socketFactoryRegistry);

final var httpComponent = camelContext.getComponent("http", HttpComponent.class);
httpComponent.setClientConnectionManager(connectionManager);

final var httpsComponent = camelContext.getComponent("https", HttpComponent.class);
httpsComponent.setClientConnectionManager(connectionManager);
}
Expand Down

0 comments on commit 358f2df

Please sign in to comment.