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

Android: MenuInflater Works Only On Emulator, Not Real Device
Android/Smack: Keep XMPP connection alive in sleep mode
Setting up regex in Pattern object for java string
Exporting java .jar from eclipse to Android Studio libs
How to break out of case and repeat program until user chooses to exit
Add restrict background widget/function in new Android App
LocationListener : onLocationChanged getting null when passing to global
SDK method for Tree traversal
Sonar maven build failing after java8 upgrade
Insertion of data in salesforce from android native app
Is there a way to localize android app without using values/strings.xml?
How to use MacOS terminal commands in Java console app
Can't load IA 32-bit .dll on a AMD 64-bit platform. But runs in IDE
Java TimeZone instance shows different offsets when run on different environments [duplicate]
Stub uses a single connection over the channel for multithreaded gRPC Client?
can we pass values to cucumber runner class annotations from excel file

Categories

HOME
maven
variables
date
gitlab
deployment
json.net
youtube-dl
electronics
jpeg
baqend
pivotal-cloud-foundry
convolution
directx
facebook-php-sdk
metatrader4
kentor-authservices
etl
timeout
carthage
worldwind
windows-7-x64
pugjs
text-rendering
functional-testing
dxf
buildbot
tdd
fgetcsv
log4js-node
srcset
.net-4.0
ioio
hybridauth
amazon-kinesis-kpl
restlet
event-driven
libvpx
theano.scan
xenforo
botbuilder
executenonquery
wso2carbon
jsch
user-accounts
taffy
osx-mavericks
filepicker
rails-routing
aurelia-validation
lift-json
mediaelement
deadbolt-2
ado.net-entity-data-model
azure-virtual-network
jwplayer7
connect-by
make-install
dlna
two-factor-authentication
ford-fulkerson
ruby-2.2
iis-arr
responsive-images
streambase
inmobi
geonetwork
formatjs
modalpopup
xc16
nstableviewcell
gadt
codeigniter-routing
asp.net-web-api-odata
php-5.4
message-driven-bean
oam
dbconnection
dataservice
flashvars
dmoz
gdata-api
dice
wse3.0
pendrive
heartbeat
xmemcached
xdomainrequest
table-footer
lang
sudzc
jquery-ui-droppable
asp.net-profiles
vc90
web-architecture
sef
putchar
zune
msdev
ugc
lzh

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App