validationMessage.properties placed in the another bundle is not used by the camel-bean-balidator on OSGi environemnt

Solution Verified - Updated -

Issue

A camel route bundle(camelApp.jar) depends on a CustomValidation bundle(customValidation.jar).

customValidation.jar
    |
    - |ーsample.validator
          |ーNumberSize
          | -NumberSizeValidator
      |ーMETA-INF
          |ーMANIFEST.MF
    |ーValidationMessage.properties

On the karaf environment, ValidationMessage.properties in the customValidation.jar bundle is not used.
Is there any way for camel routes(camelApp.jar) to use a ValidationMessage.properties located in another bundle(customValidation.jar)?

Environment

  • Red Hat Fuse
    • 7.x
    • karaf runtime

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content