Re: [VOTE] Release Apache Camel K 1.12.1 and Camel K runtime 1.17.1 - second attempt

2023-06-08 Thread Jean-Baptiste Onofré
+1 (binding)

Regards
JB

On Wed, Jun 7, 2023 at 2:56 PM Pasquale Congiusti
 wrote:
>
> Hello,
>
> This is a combined vote to release Apache Camel K 1.12.1 and Camel K
> Runtime1.17.1. The release also contains the Camel K CRD 1.12.1, a Java
> client for Kubernetes Camel K CRDs. The release is based on Camel 3.20.x
> and Camel Quarkus 2.16.x. It contains mostly bug fixes. A first attempt to
> release this version was canceled last week due to a bug found while
> testing the staging version.
>
> Camel K Runtime source files:
> https://dist.apache.org/repos/dist/dev/camel/camel-k-runtime/1.17.1/
>
> Camel K Runtime staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1565
>
> Camel K Runtime Tag:
> https://github.com/apache/camel-k-runtime/releases/tag/camel-k-runtime-project-1.17.1
>
> Camel K release files:
> https://dist.apache.org/repos/dist/dev/camel/camel-k/1.12.1/
>
> Camel K Tag:
> https://github.com/apache/camel-k/releases/tag/v1.12.1
>
> Camel K CRD Java dependency staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1566
>
> Staging container image repository:
> https://hub.docker.com/layers/camelk/camel-k/1.12.1/images/sha256-34b0ea1de619b1790fce1031dcd332f4be1429c045fab30dfe60d589554f842c?context=repo
>
> It's possible to install all staging artifacts with a single command
> (preferably using the kamel CLI you find in Camel K release files):
>
> kamel install --operator-image=camelk/camel-k:1.12.1 --maven-repository=
> https://repository.apache.org/content/repositories/orgapachecamel-1565
>  --olm=false
>
> Please test this release candidate and cast your vote.
>
> [ ] +1 Release the binary as Apache Camel K 1.12.1 and Apache Camel K
> Runtime 1.17.1
> [ ] -1 Veto the release (provide specific comments)
>
> The vote is open for at least 72 hours.
>
> I start the vote with my +1.
>
> Thanks and regards,
> Pasquale Congiusti


Re: Issue in resolving endpoint with property having period

2023-06-08 Thread Sujeet Singh
Hi,

I switched to 3.14.8 from 3.2.0

I am getting this extra information which was absent earlier

Caused by: org.apache.camel.NoTypeConversionAvailableException: No type
converter available to convert from type: java.lang.String to the required
type: java.time.Duration with value 5000

Thanks & Regards,
Sujeet

On Wed, 7 Jun 2023, 19:08 ski n,  wrote:

> It's route information that is needed. If the route xml is provided then
> it's easier to take a look at it.
>
> BTW are you really running it on 3.2.0? (It's best to use 3.20.5, or at
> least to go to 3.14.8)
>
> On Wed, Jun 7, 2023 at 3:30 PM Sujeet Singh 
> wrote:
>
> > Hi,
> >
> > It is something like below.
> >
> > public class FeedLauncher{
> > public static void main(String[] args){
> >ApplicationContext context =
> >
> >
> ClassPathXmlApplicationContext("spring/tc-feedloader-camel-spring-ctx.xml");
> >SpringCamelContext camleContext = new SpringCamelContext();
> >camelContext.setApplicationContext(context);
> >camelContext.start();
> > }
> > tc-feedloader-camel-spring-ctx.xml
> > 
> > 
> > 
> >  > resource="classpath:spring/tc-feedloader-idempotent-spring-ctx.xml"/>
> > 
> > 
> > tc-feedloader-context.xml
> > 
> > 
> > 
> >  >   base-package=""/>
> > 
> >
> >
> > The route information is stored in database and using JPA we are
> extracting
> > and configuring it.
> >
> > We are really stuck on this though it works very well with Camel 2.x
> >
> > Thanks & Regards,
> > Sujeet
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Jun 5, 2023 at 7:37 PM ski n  wrote:
> >
> > > Hi Sujeet,
> > >
> > > Can you add the complete route, so it's clear where you are using it?
> > >
> > > Regards,
> > >
> > > Raymond
> > >
> > > On Mon, Jun 5, 2023 at 3:50 PM Sujeet Singh <
> sujeetkumarsi...@gmail.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I am trying to migrate from Camel 2.x to
> > > > Camel 3.2.0. I have followed all the
> > > > guidelines but getting the below error
> > > > during startup.
> > > >
> > > > Caused by org.apache.camel.ResolveEndpointFailedException: Failed to
> > > > resolve endpoint: timer://notification?fixedRate=true=5000 due
> > to:
> > > > Error binding property (period = 5000) with name: period on bean:
> > > > timer://notification?fixedRate=true=5000 with  value: 5000
> > > >
> > > > If I remove period from above endpoint it starts working. Same thing
> > > > happens for time, maxAge etc.
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Thanks & Regards,
> > > > Sujeet
> > > >
> > >
> >
>