You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Kartheek Veebhudi <ka...@gmail.com> on 2022/12/16 06:28:32 UTC

need help

Hi Camel Users,

We have a file transmission application which uses Apache Camel which is a
legacy application running on 2.25 version. We have created a custom
endpointConfiguration like
<routes><route id="test"><from
uri="ndmfile://prpertiesfile.xml?delay=12000/><process ref="ndPA"/><to
uri="ndm:send"/></route></routes>

ndmfile is an customEndpoint and using endpoint.setEndPointConfiguration()
and getEndPointConfiguration().

Currently we are in a situation to upgrade it to 3.14/3.16 version and
these method got deprecated and deleted from 3.x version. Is there any
alternative for this method in new updated versions?


*Thanks & Regards,*
*Kartheek.Veebhudi*

Re: need help

Posted by Chirag <ch...@gmail.com>.
Karthik,
while you can always write a new component, but is specific usecase
not supported by any existing component?

ચિરાગ/चिराग/Chirag
------------------------------------------
Sent from My Gmail Account

On Mon, Dec 19, 2022 at 6:08 AM Claus Ibsen <cl...@gmail.com> wrote:
>
> On Mon, Dec 19, 2022 at 11:27 AM Kartheek Veebhudi <
> kartheek.veebhudi@gmail.com> wrote:
>
> > Hi Camel Users,
> >
> > We have a file transmission application which uses Apache Camel which is a
> > legacy application running on 2.25 version. We have created a custom
> > endpointConfiguration like
> > <routes><route id="test"><from
> > uri="ndmfile://prpertiesfile.xml?delay=12000/><process ref="ndPA"/><to
> > uri="ndm:send"/></route></routes>
> >
> > ndmfile is an customEndpoint and using endpoint.setEndPointConfiguration()
> > and getEndPointConfiguration().
> >
> > Currently we are in a situation to upgrade it to 3.14/3.16 version and
> > these method got deprecated and deleted from 3.x version. Is there any
> > alternative for this method in new updated versions?
> >
> >
> No there is no alternative, they were AFAIR also deprecated in 2.x.
> https://github.com/apache/camel/blob/camel-2.25.x/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java#L25
>
> Just write the component like any other standard component, you can look at
> one of the existing components that is is somewhat similar to your
> component as inspiration.
>
>
>
> >
> > *Thanks & Regards,*
> > *Kartheek.Veebhudi*
> >
>
>
> --
> Claus Ibsen
> -----------------
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2

Re: need help

Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Dec 19, 2022 at 11:27 AM Kartheek Veebhudi <
kartheek.veebhudi@gmail.com> wrote:

> Hi Camel Users,
>
> We have a file transmission application which uses Apache Camel which is a
> legacy application running on 2.25 version. We have created a custom
> endpointConfiguration like
> <routes><route id="test"><from
> uri="ndmfile://prpertiesfile.xml?delay=12000/><process ref="ndPA"/><to
> uri="ndm:send"/></route></routes>
>
> ndmfile is an customEndpoint and using endpoint.setEndPointConfiguration()
> and getEndPointConfiguration().
>
> Currently we are in a situation to upgrade it to 3.14/3.16 version and
> these method got deprecated and deleted from 3.x version. Is there any
> alternative for this method in new updated versions?
>
>
No there is no alternative, they were AFAIR also deprecated in 2.x.
https://github.com/apache/camel/blob/camel-2.25.x/camel-core/src/main/java/org/apache/camel/EndpointConfiguration.java#L25

Just write the component like any other standard component, you can look at
one of the existing components that is is somewhat similar to your
component as inspiration.



>
> *Thanks & Regards,*
> *Kartheek.Veebhudi*
>


-- 
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2