Re: java.lang.IllegalArgumentException Error

Jean-Baptiste Onofré <[email protected]>
Newsgroups gmane.comp.java.activemq.devel,gmane.comp.apache.user
Message-ID <CAB8EV3RcOiLF+dtMtcRt1R5Wey94xV=KpJGAv__kTjc1a3L4YA@mail.gmail.com>
Hi,

At first glance, it doesn't look like an ActiveMQ issue but more a
Camel issue. The Camel placeholder doesn't seem to be populated.
Maybe we don't use the right path for the placeholder prop file (from
file:c to file://).

How do you start the ActiveMQ broker ? standalone (with the
bin/activemq script) or with the wrapper ?
Does you camel route run inside ActiveMQ (directly included in the
conf/activemq.xml) ?

Did you tune bin/setenv or wrapper.conf ?

Regards
JB

On Fri, Dec 20, 2024 at 8:15 AM Jana Manju <[email protected]> wrote:
>
> Hi Team,
>
> Recently we migrated our ActiveMQ service from windows to linux. We are
> seeing the following error for only one of the consumers.
>
> 2024-12-20 12:33:11,959 | ERROR | Failed delivery for (MessageId:
> ID:svfls2000004pr.nbndc.local-18161-1734521123745-3:1:1:1:147 on
> ExchangeId: ID-svpniabbc3d8pr-aws-nbndc-local-1734254938673-1-21885).
> Exhausted after delivery attempt: 1 caught:
> org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException:
> Property with key [LIMIT.PRIORITY.UpdateResource.FLS] not found in
> properties from text: {{LIMIT.PRIORITY.UpdateResource.FLS}}
>
> Following are the consumers from properties files.
>
> LIMIT.PRIORITY.updateResource.UNIFY={{PRIORITY.Best Effort}}
> LIMIT.PRIORITY.updateResource.FLS={{PRIORITY.Best Effort}}
> LIMIT.PRIORITY.updateResource.EIS={{PRIORITY.Best Effort}}
> LIMIT.PRIORITY.updateResource.TVT={{PRIORITY.Best Effort}}
>
> The issue is occurring only for LIMIT.PRIORITY.updateResource.FLS and as
> per our validation the error is occurring due to case sensitive in
> UpdateResource where U is capital letter but our property file has correct
> details only and i am unable figure out where UpdateResource value coming
> in this message..
>
> property with key [LIMIT.PRIORITY.UpdateResource.FLS]
>
> can you please review and help with your input to resolve the issue.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe-UzBZ5Px8zVWY1pf4d8vP8EB+6BGkLq7r@public.gmane.org
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.