java


Adding headers to Csv file using header enricher in spring integration


I need to write custom headers to csv file at the time of its creation, I tried using transformers in spring integration, but I cannot complete my task.
Start of file and firm name are the custom headers I need to add to csv file.
I know we can do this using #Transformer in spring integration, I'm confused with this, please help me understanding #transformer.
Output csv file should look like:
START-OF-FILE : ""
FIRMNAME : abcd
Year, make, model, description, price
1997, abs, moon, abc, 3000
Do I need to configure service provider in xml,
I'm new to spring integration, any help?
Any suggestions?
Thanks

Related Links

Eclipse Code Formatter indents with double amount of spaces - Intellij IDE
Find Free Prefixes within a CIDR netblock
Getting n number of words on either side of a particular word in a sentence [closed]
Java Oracle - Result doesn't match varchar2 “NULL” String [duplicate]
Save Servlet changes for all sessions
When I try to initialize a class to call one of its method, an error comes up, how to resolve this?
How can i add webview in my class? [findViewById(int) in fragment]
Replace image (.png, .jpg) code (Java)
eclipse the project was not built since its build path is incomplete. Cannot find the class file
Collapsing Toolbar not collapsing when scrolled in view pager
There is any library to merge audio file like GAO app Android Application?
Stitching DHT and Torrent Client together
Swing - Adjust font size on window resize with different initial font sizes
Android Out of Memory Error
spring boot jms multiple broker-url
How to create a “save” menu item in java. I have created the “save as ” menu item but don't know how to create the “save” menu item

Categories

HOME
reflection
isabelle
c#-4.0
tizen
lodash
platform-builder
bpmn
gps
ssl-client-authentication
alignment
decomposition
percona
google-static-maps
nodatime
jtextfield
predix
amazonsellercentral
cloudhub
icloud-api
semantic-analysis
fgetcsv
rst2pdf
delicious-api
flink-streaming
kendo-ui-grid
jmonkeyengine
file-format
automake
starteam
objectlistview
mesos-chronos
email-templates
android-tabhost
grid.mvc
firebase-admin
slick-3.0
executenonquery
pubmed
togetherjs
setter
slickedit
gcsfuse
xcb
google-feed-api
instant
sts-springsourcetoolsuite
azure-virtual-network
adxstudio-portals
transmitfile
markojs
associative-array
freedesktop.org
unity-networking
tcpserver
sdhc
comobject
jqgrid-formatter
twirl
apache-commons-fileupload
unity3d-gui
graph-api-explorer
apache-commons-net
ng-animate
nstableviewcell
tablelayout
phalanger
markers
typeof
funcunit
expected-exception
transcoding
mysqltuner
tws
excel-2003
html-editor
browser-detection
gil
coderush
propertyeditor
labwindows
pendrive
mercurial-server
ecl
disclosure
google-friend-connect
suppress
preference
phonon
scripting-languages
msdev
signal-handling

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App