Mule MongoDB コネクタを使用して、どのようにフィールドを BinData タイプとして保存しますか?
<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>
私が試した上記の例では、文字列 "BinData(3, 'eea894d1-b0b5-11e1-91c7-a769a8d50370')" を格納するだけです。
これは可能ですか?