CAMEL-7578 pattern attribute should not be ignored if locale is not set

Hi,

This PR is related to https://issues.apache.org/jira/browse/CAMEL-7578

Bye,
Andrea