Uploaded image for project: 'Spring Integration Samples'
  1. Spring Integration Samples
  2. INTSAMPLES-120

spring-integration mongodb sample runAdapterWithConveter error

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Basic

      Description

      spring-integration-samples-master\basic\mongodb

      There is a problem with the MongoDbOutboundAdapterDemo.runAdapterWithConveter() example.

      org.springframework.data.mapping.model.MappingException: Could not parse given String to save into a JSON document!
      	at org.springframework.data.mongodb.core.MongoTemplate.doSave(MongoTemplate.java:809)
      	at org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:750)
      	... 
      Caused by: com.mongodb.util.JSONParseException: 
      John, Dow, Palo Alto, 3401 Hillview Ave, 94304, CA
      

      I created a Spring Data MongoDB issue related to this.

      MongoTemplate’s String MongoConverter not supported?

      https://jira.springsource.org/browse/DATAMONGO-814

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abilan Artem Bilan
              Reporter:
              prodriguez Pedro Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: