Re: migration to Camel 3.7

2021-01-26 Thread Иванов Григорий Олегович
InterceptFrom blocks in this case? ____ От: Иванов Григорий Олегович Отправлено: 26 января 2021 г. 17:28:58 Кому: users@camel.apache.org Тема: Re: migration to Camel 3.7 I figured out it is related to having camelContext described in camel.xml along with another b

Re: migration to Camel 3.7

2021-01-26 Thread Иванов Григорий Олегович
correct? Please, help От: Иванов Григорий Олегович Отправлено: 23 декабря 2020 г. 15:03:34 Кому: users@camel.apache.org Тема: migration to Camel 3.7 Hi, I have an issue when migrated from 3.5 to 3.7 Camel According to logs there are 4 additional empty (0 routes

migration to Camel 3.7

2020-12-23 Thread Иванов Григорий Олегович
Hi, I have an issue when migrated from 3.5 to 3.7 Camel According to logs there are 4 additional empty (0 routes) camel contexts being started (camel-1 to camel-4) Please tell if it is a feature and if so what is its purpose? Should I care about these contexts or somehow treat them? Camel 3

Re: groovy scripts in IntelliJ IDEA

2020-12-02 Thread Иванов Григорий Олегович
If someone are interested, it could be done via using Idea's Dynamic Properties - https://confluence.jetbrains.com/display/GRVY/Dynamic+Methods+and+Properties От: Иванов Григорий Олегович Отправлено: 11 ноября 2020 г. 19:11:12 Кому: users@camel.apache.org

groovy scripts in IntelliJ IDEA

2020-11-11 Thread Иванов Григорий Олегович
Hi, I have a question about using an external groovy script in camel route - https://camel.apache.org/components/latest/languages/groovy-language.html#_loading_script_from_external_resource Say I want do something like request.getHeader("foo").collectEntries { k, v -> [k, v ?: "default"]

Mocking a class in a script

2020-10-22 Thread Иванов Григорий -
Hi I have a production route with a groovy script I should test, is there a way to mock URL class or do something else to not really make a request to production API? The problem is that besides the request part it have some other stuff I would like to be tested. I agree, this route is not as

Camel documentation question

2020-10-20 Thread Иванов Григорий -
Hello! As I could remember there was a section on the old camel website about using activeMQ destination options Is there a reason for not to have it now? Camel AMQ component - https://camel.apache.org/components/latest/activemq-component.html AMQ destination options - https://activemq.apach

Re: Camel 3 - beans creation when testing

2020-10-14 Thread Иванов Григорий -
. On Tue, Oct 13, 2020 at 10:42 AM Иванов Григорий - wrote: > > > Hello, everyone > > I have a question about routes testing > > In production I have ActiveMQ connection factory bean > > > class="org.apache.activemq.ActiveMQConnectionFactory"> >

Camel 3 - beans creation when testing

2020-10-13 Thread Иванов Григорий -
Hello, everyone I have a question about routes testing In production I have ActiveMQ connection factory bean ... Now when I run a test I get this warning "Create pooled connection during start failed. This exception will be ignored" and an exception after it "javax.jm