Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9194347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:23:26+00:00 2026-06-17T21:23:26+00:00

Using the Mule MongoDB connector, how do you store a field as a BinData

  • 0

Using the Mule MongoDB connector, how do you store a field as a BinData type?

    <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>

This example above that I’ve tried just stores the string “BinData(3, ‘eea894d1-b0b5-11e1-91c7-a769a8d50370’)”

Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:23:27+00:00Added an answer on June 17, 2026 at 9:23 pm

    I have actually given up on the Mule MongoDB Connector entirely because it was not reliable and failed under a heavy load. This article explained why it failed so miserably – http://www.thorntech.com/2012/07/mule-mongo-connector-fails-under-heavy-load/

    It was very easy to write my own Mule component that used the standard java driver. It performed significantly better and I had no problem saving any data type I wanted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Mule 3, how can I pass a java.io.File object payload from an inbound
Mule 3.3 can automatically unmarshall an XML string to an object using JAXB given
I am trying to use Mule 3.2.0 s Collection Aggregator. I tried using Mule
Using Mule 3.2.1, I want to pass a Mule Message or Mule Event to
We're securing Mule services using the Spring Security Framework, and some of the services
How can I pass parameters to external webservice via mule flow using CFX?
Using a populated Table Type as the source for a TSQL-Merge. I want to
How does RabbitMQ compare to Mule, I am going to build an application using
In my Mule-config.xml, I do a http post to a service using 2 query
I am trying to expose a simple greeting web-service using cxf:proxy-service in mule. Given

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.