Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Where label is an arbitrary text value describing the endpoint.
You can append query options to the URI in the following format, ?option=value&option=value&...

URI Options

Div
classconfluenceTableSmall
Wiki Markup
{div:class=confluenceTableSmall} || Option || Default || Description || | {{group}} | {{

Option

Default

Description

group

javax.validation.groups.Default

}} |

The

custom

validation

group

to

use.

| | {{validationProviderResolver}} | Depends on JSR303 jar provided. | Camel *

validationProviderResolver

Depends on JSR303 jar provided.

Camel 2.13.0

*

:

Reference

to

a

custom

{{

javax.validation.ValidationProviderResolver

}}

in

the

[]. | | {{messageInterpolator}} | {{

.

messageInterpolator

org.hibernate.validator.engine.

\\ResourceBundleMessageInterpolator}} | Reference to a custom {{


ResourceBundleMessageInterpolator

Reference to a custom javax.validation.MessageInterpolator

}}

in

the

[]. | | {{traversableResolver}} | {{

.

traversableResolver

org.hibernate.validator.engine.resolver.

\\DefaultTraversableResolver}} | Reference to a custom {{


DefaultTraversableResolver

Reference to a custom javax.validation.TraversableResolver

}}

in

the

[]. | | {{constraintValidatorFactory}} | {{

.

constraintValidatorFactory

org.hibernate.validator.engine.

\\ConstraintValidatorFactoryImpl}} | Reference to a custom {{


ConstraintValidatorFactoryImpl

Reference to a custom javax.validation.ConstraintValidatorFactory

}}

in

the

[]

.

| {div}

OSGi deployment

To use Hibernate Validator in the OSGi environment use dedicated ValidationProviderResolver implementation, just as org.apache.camel.component.bean.validator.HibernateValidationProviderResolver. The snippet below demonstrates this approach. Keep in mind that you can use HibernateValidationProviderResolver starting from the Camel 2.13.0.

...