En utilisant le connecteur Mule MongoDB, comment stockez-vous un champ en tant que type BinData?Comment stocker un champ BinData en utilisant Mule MongoDB Connector?
<mongo:insert-object-from-map collection="#[variable:collectionName]">
<mongo:element-attributes>
<mongo:element-attribute key="msg_id">BinData(3, '#[message:id]')</mongo:element-attribute>
<mongo:element-attribute key="shortcode">#[map-payload:shortcode]</mongo:element-attribute>
<mongo:element-attribute key="msg">#[map-payload:msg]</mongo:element-attribute>
</mongo:element-attributes>
</mongo:insert-object-from-map>
Cet exemple ci-dessus que j'ai essayé juste stocke la chaîne "BinData (3, 'eea894d1-b0b5-11e1-91c7-a769a8d50370')"
Est-ce possible?