to use the camel-component-maven-plugin as well that
> generates needed metadata files.
>
> Otherwise you can use the old 2.x way, where you need to turn on type
> converter classpath scanner.
>
> https://camel.apache.org/manual/type-converter.html#_type_converter_registry
>
Hi,
While trying to migrate from Camel2-->Camel4, I am facing one
challenge i.e. earlier in one of my class I use to have multiple
converter methods which was working fine. But now with latest version,
I observed that only 1st method of the converter class is loaded and
rest are not loaded.
t what is wrong here, so that I can try the same.
Regards
Kushagra
On Fri, Aug 11, 2023 at 6:17 PM Kushagra Bindal
wrote:
>
> Was able to resolve this, thanks for your input.
>
> On Thu, Aug 10, 2023 at 5:11 PM Kushagra Bindal
> wrote:
> >
> > Do you have any handy sample
Was able to resolve this, thanks for your input.
On Thu, Aug 10, 2023 at 5:11 PM Kushagra Bindal
wrote:
>
> Do you have any handy sample with you which I can refer to for this case?
>
> On Thu, Aug 10, 2023 at 2:34 PM Claus Ibsen wrote:
> >
> > Hi
> >
> > Re
On Thu, Aug 10, 2023 at 10:29 AM Kushagra Bindal
> wrote:
>
> > Earlier the usage was to be like that as I mentioned here... We
> > usually checked on AsyncCallback and reacted accordingly.
> >
> >
> > @Override
> > public Processor createErrorHandler(Route
thanks let me give it a try!!
On Thu, Aug 10, 2023 at 2:37 PM Claus Ibsen wrote:
>
> context.getCamelContextExtension().addContextPlugin(UnitOfWorkFactory.class,
> new MyUnitOfWorkFactory());
>
>
> On Thu, Aug 10, 2023 at 10:41 AM Kushagra Bindal
> wrote:
>
> &
);
camelContext.setUseMDCLogging(true);
camelContext.setUnitOfWorkFactory(customUnitOfWorkFactory);
camelContext.getShutdownStrategy().setTimeout(10);
camelContext.start();
Please suggest an alternative way of doing the same.
On Thu, Aug 10, 2023 at 1:41 PM Kushagra Bindal
wrote:
>
> Thanks Claus for the
ing your own error handler implementation at all? What is
> special about it
>
> On Thu, Aug 10, 2023 at 10:05 AM Kushagra Bindal
> wrote:
>
> > Hi,
> >
> > I am trying to upgrade my camel version from 2.25.4 to 4.0.0.M3.
> >
> > Earlier I
e the TIP in that api changes section
>
> On Thu, Aug 10, 2023 at 9:58 AM Kushagra Bindal
> wrote:
>
> > Hi,
> >
> > I am trying to upgrade my camel version from 2.25.4 to 4.0.0.M3.
> >
> > Earlier I use to set my UnitOfworkFactory using below pattern.
&g
Hi,
I am trying to upgrade my camel version from 2.25.4 to 4.0.0.M3.
Earlier I use to set ErrorHandler using below pattern.
from(customString)
.errorHandler(new RetrieveCustomErrorHandler())
.convertBodyTo(CustomRetrieve.class)
.setProperty(JAXWS_METHOD_NAME_PROPERTY,
Hi,
I am trying to upgrade my camel version from 2.25.4 to 4.0.0.M3.
Earlier I use to set my UnitOfworkFactory using below pattern.
camelContext.setUnitOfWorkFactory(customUnitOfWorkFactory);
Now with the latest version of Camel, I just wanted to understand the
new mechanism of doing the same.
11 matches
Mail list logo