Add locale configuration for Smooks date transforms in the quickstarts
----------------------------------------------------------------------
Key: JBESB-2506
URL:
https://jira.jboss.org/jira/browse/JBESB-2506
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Examples
Reporter: Daniel Bevenius
Fix For: 4.6
For example, the bpm_orchestration4 quickstart has to transforms that include date
transformations. These do not specify locale configuration information and are therefor
dependent on the default locale that this system uses.
We should add explicit locales to avoid problems. This can be configures like this:
<jb:value property="orderDate" data="Order/@orderDate"
decoder="Calendar">
<jb:decodeParam name="format">EEE MMM dd HH:mm:ss z
yyyy</jb:decodeParam>
<jb:decodeParam
name="locale-language">en</jb:decodeParam>
<jb:decodeParam
name="locale-country">US</jb:decodeParam>
</jb:value>
All quickstart should be update if they have date transformations.
This issue was discovered while investigating the linked forum reference.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira