Skip to content

Commit

Permalink
Upgrade to Camel 3.2.0 - WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Mar 4, 2020
1 parent 2384fe4 commit 97f9b08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import io.quarkus.runtime.RuntimeValue;
import io.quarkus.runtime.annotations.Recorder;
import org.apache.camel.component.braintree.BraintreeComponent;
import org.apache.camel.component.braintree.BraintreeConfiguration;

@Recorder
public class BraintreeRecorder {
Expand All @@ -30,7 +31,9 @@ public class BraintreeRecorder {
*/
public RuntimeValue<BraintreeComponent> configureBraintreeComponent() {
BraintreeComponent component = new BraintreeComponent();
component.setLogHandlerEnabled(false);
BraintreeConfiguration configuration = new BraintreeConfiguration();
configuration.setLogHandlerEnabled(false);
component.setConfiguration(configuration);
return new RuntimeValue<>(component);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public CamelReactiveStreamsService getReactiveStreamsService() {
if (reactiveStreamService == null) {
this.reactiveStreamService = reactiveStreamServiceFactory.newInstance(
getCamelContext(),
getInternalEngineConfiguration());
getReactiveStreamsEngineConfiguration());

try {
// Start the service and add it to the Camel context to expose managed attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
## limitations under the License.
## ---------------------------------------------------------------------------

camel.component.braintree.configuration = #class:org.apache.camel.component.braintree.BraintreeConfiguration
camel.component.braintree.configuration.environment=SANDBOX
camel.component.braintree.configuration.merchantId={{env:BRAINTREE_MERCHANT_ID}}
camel.component.braintree.configuration.publicKey={{env:BRAINTREE_PUBLIC_KEY}}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<ahc.version>2.10.4</ahc.version>
<camel.version>3.1.0</camel.version>
<camel.version>3.2.0-SNAPSHOT</camel.version>
<guava.version>26.0-jre</guava.version>
<hapi.version>4.1.0</hapi.version>
<quarkus.version>1.3.0.Alpha2</quarkus.version>
Expand Down

0 comments on commit 97f9b08

Please sign in to comment.