AW: Azure Cosmo with MongoAPI migration

2021-11-24 Thread Tobias Letschka
8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=tOhjLo2nwMz%2FQva%2FZn0nn1cDkf%2FlS5%2BqrBNeoARX1D4%3D&reserved=0). Raymond Op di 23 nov. 2021 om 16:12 schreef Tobias Letschka : > Hi all, > > we use apache camel in ms azure + microservices (Vers

Azure Cosmo with MongoAPI migration

2021-11-23 Thread Tobias Letschka
Hi all, we use apache camel in ms azure + microservices (Version 3.7, AKS, k8s)and have legacy code. In legacy code (docker-compose) we used mongoDB. What could the best way to migrate to cosmodb with mongoAPI best regards Tobias

Consume a RestAPI with netty or http

2021-08-04 Thread Tobias Letschka
Hi, i am search a solution to connect and consume (POST-Call) Rest-API with SSL (HTTPS): Call looks like: .to("netty-http:https:{{baseURL}}/auth/realms/{{realm}}/protocol/openid-connect/token?sync=true&ssl=true&passphrase=#password&keyStoreFile=#ksf&trustStoreFile=#tsf") I found this tutoria

toD() and rabbitMQ - dynamic queues

2020-08-15 Thread Tobias Letschka
Hi We using apache camel version 2.24.3 + spring-boot 2. Now we tried to connect different servers with toD() for example: .setHeader("rabbitmq.EXCHANGE_OVERRIDE_NAME", constant("http://${exchangeProperty.genisys_client_magento_host}“)) .toD("rabbitmq:productUpload?hostname=localhost&autoDel

How to prepare mongoDB Endpoint for Tests

2020-03-06 Thread Tobias Letschka
Hi riders I am searching for a solution to produce a bson.types.Objectid and produce a body at a mongodb endpoint. I have mocked the Endpoint: @EndpointInject(uri = "mock:mongoFindBy") private MockEndpoint mongoFindBy; My route (Java DSL): from(ActiveMQ.QUEUE_IN).routeId(MAPPING_ROUTE_ROUTE_

Secure Undertow RestRoute with SpringSecurity - Username + Password (Basic Header) - Java DSL

2019-12-13 Thread Tobias Letschka
Hi, Use Case: I used undertow and https and want to authorize at web service with username and password defined in application.propterties. Source Code (RestControllerRouteBuilder.java) // Setup restConfiguration().apiContextRouteId("swagger") .component("undertow")

Undertow server starts twice - camel 2.23.0

2019-12-09 Thread Tobias Letschka
Hi, I have this route and the problem: 019-12-09 15:00:44.673 INFO 82720 --- [ main] o.a.c.c.mongodb3.MongoDbEndpoint : Initialising MongoDb endpoint: mongodb3://mongo?collection=magento.order.in.rest&database=genisys&operation=insert 2019-12-09 15:00:44.702 INFO 82720 --- [

Change from ApacheMQ to ArtemisMQ

2019-12-04 Thread Tobias Letschka
Hi camel riders, I have a question. I’m trying to change my application from apacheMQ to Artemis. I’m already using ApacheMQ and Springboot. At the moment I use this @Configuration. Do you know a better one? @Configuration public class ActiveMQ { @Value("${artemis.username}") String us

Using ApacheArtemis

2019-08-21 Thread Tobias Letschka
Hi, Is it possible to use apache artemis instead activmq in camel? Regards, Tobias

Re: Apache MQ monitoring/retry

2019-06-07 Thread Tobias Letschka
certain messages > (for example with a choice) > while leaving other untouched. What is exactly the use case? > > Regards, > > Raymond > > Op ma 27 mei 2019 om 14:04 schreef Tobias Letschka : > >> Hi camel riders, >> >> we have 100’s of JSON in DeadLe

Apache MQ monitoring/retry

2019-05-27 Thread Tobias Letschka
Hi camel riders, we have 100’s of JSON in DeadLetterQueue of Apache Mq. MQ running in Docker Container. How can we retry JSON without using web console. I tried hawtio but it does not work. Regards Tobias