Thank you. Il giorno ven 20 dic 2019 alle ore 17:27 <pascalschumac...@apache.org> ha scritto:
> This is an automated email from the ASF dual-hosted git repository. > > pascalschumacher pushed a commit to branch master > in repository https://gitbox.apache.org/repos/asf/camel.git > > > The following commit(s) were added to refs/heads/master by this push: > new 0407e6c FastjsonDataFormat: Use the build serializerFeatureList > to configure FastJson. > 0407e6c is described below > > commit 0407e6c8b47782994836e0622032e39f4ae737fd > Author: Pascal Schumacher <pascalschumac...@gmx.net> > AuthorDate: Fri Dec 20 17:25:48 2019 +0100 > > FastjsonDataFormat: Use the build serializerFeatureList to configure > FastJson. > --- > .../java/org/apache/camel/component/fastjson/FastjsonDataFormat.java | > 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git > a/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java > b/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java > index ebff729..deca161 100644 > --- > a/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java > +++ > b/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java > @@ -120,7 +120,7 @@ public class FastjsonDataFormat extends ServiceSupport > implements DataFormat, Da > > serializerFeatureList.add(SerializerFeature.WriteDateUseDateFormat); > config.setDateFormat(this.dateFormatPattern); > } > - > + > config.setSerializerFeatures(serializerFeatureList.toArray(new > SerializerFeature[0])); > } > } > > >