Questions tagged [smooks]

Smooks is an extensible framework for building applications for processing XML and non XML data (CSV, EDI, Java etc) using Java.

Smooks is an extensible data integration Java framework for building XML and non-XML fragment-based applications.

178 questions
0
votes
1 answer

Smooks CSV and ftl

I have a csv file and I have to convert it to a an xml with smooks, my csv file has this format: firstname,lastname,gender,age,country and I have to trasnform it to firstname ... I wrote my…
ddelizia
  • 1,571
  • 5
  • 30
  • 54
0
votes
1 answer

Camel: Smooks Filtering operation failed

I'm working with camel and I'm trying to add a smooks transformation to my route: public void configure() throws Exception { from("file:src/main/resources/smookFromCsvToXml/from?fileName=test.jtl") .log("Before…
ddelizia
  • 1,571
  • 5
  • 30
  • 54
0
votes
1 answer

Camel cannot find component smooks

I'm trying to run a smooks transformation in a camel route. I have seen that camel has native support for it, but when I run my simple route:
ddelizia
  • 1,571
  • 5
  • 30
  • 54
0
votes
1 answer

Any Java Object to Map transformation with Smooks, or other transformers possible?

I'd like to have generic transformer so any Java object is transformed into a Map and nested objects are represented as nested Maps. E.g. class MyA { String a; Integer b; MyB c; List d; } class MyB { Double a; String b; MyB…
0
votes
1 answer

FreeMarker inline template (load from database) in Smooks not interpreted

All, I try to load the FreeMarker template from database in the Smooks configuration file and use the build-ins INTERPRET to parse the string as template. However, the output is exactly the template I stored in the database. The following is part…
0
votes
1 answer

How to Deploy OSGI bundle of smooks in servicemix?

When i create simple maven project and run inside eclipse for smooks then it works fine but when i create osgi bundle for that and deploy it in servicemix then it shows following error... I put my smook configuration file in…
Hetal
  • 1
0
votes
1 answer

Smooks, java to java transformation

I have a situation , where i am trying to convert 5 different javaobject to 1 single java source. Can this be done using Smooks ? if yes how? I went throught their examples, but it looks like it can convert only 1 source javabean to another target…
amol-c
  • 435
  • 4
  • 10
-1
votes
1 answer

How to convert a json to EDIFACT using smooks with java

The only way I found is edi not edifact but when i change the smooks-config.xml with edifact
-1
votes
1 answer

how to sort the csv items based on a particular field in freemarker?

Name,RollNo,Height,Weight Adam,10,160,52 Andrew,11,152,40 Brad,12,162,55 Bran,13,161,53 In this case i need to sort the rows based on the Height field. Can you please suggest your answers?
-1
votes
1 answer

Java object to delimited file conversion

Anyone, kindly tell how to convert a java object or an array of objects to delimiter, fixedlength & unedifact file formats. the object may contain childs also.
SriKanth
  • 1
  • 2
-1
votes
1 answer

How to convert csv to json by WSO2 ESB Smook

I need complete two Task; At the first,read CSV file by VFS Transport,convert to JSON, then Call Rest API insert to DB in the end;But I feel puzzled,How to Mapping Data Format
ProEditor
  • 59
  • 5
-1
votes
1 answer

Salesforce Connection using smooks configuration

How to establish salesforce connection using smooks configuration in java? For Eg: for database connection, xmlns:ds="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd" is used for datasource. Is there something else like this for salesforce?
indu
  • 11
  • 2
-1
votes
1 answer

How the edimap file has to look like? Smooks doesnt find any field

I am using Smooks 1.5 and trying to generate an XML File from the EDI-Message I tried also with the standard Plugin, which generates a lof of namespaces, which I couldn't process cause of FreeMaker Template-Engine. This example is without…
user1013443
  • 798
  • 1
  • 8
  • 17
1 2 3
11
12