Hi, I've skimmed over GridFS. Since Mongo drivers already implement the spec, there's some potential for reuse if we host the new functionality inside the camel-mongodb component code base.
However, rather than adding more options to the existing "mongo:" endpoint, I'd much rather prefer to create a new endpoint prefix: "gridfs:", which maps to a new GridFsComponent class. You can achieve this by configuring ServiceLoader appropriately. I think camel-http could be an example (META-INF/services). Let me know your thoughts. Regards, Raúl. On 3 Dec 2012 12:12, "Nibin Varghese" <nibin...@gmail.com> wrote: > Hi, > > I would like to propose a mongodb-gridFS component for apache camel. I > tried searching for the same and I couldn't find any support for gridFS. > GridFS is a specification for storing large files in MongoDB (as per their > web site). There are two possible ways of implementing camel-gridfs > component. > 1. Extending camel-mongodb to support gridfs > 2. Provide a new component as camel-gridfs. > > Please suggest on what is the best approach ? I can submit the gridfs > component based on camel community's feedback. > > [1] http://www.mongodb.org/display/DOCS/GridFS > > Thanks and Regards, > Nibin Varghese >