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

Getting Error while sending mail from Localhost using JSP
“Stopwatch” counting seconds (since -> to)
Running jar created under windows under linux
Troubleshoot “Failed to Create the Java Virtual Machine” when launching Import.io
Division 10/100 gives 0 [duplicate]
Get dynamically the width of the range axis
How to write a code recursively and pass the value dynamically in java as shown below picture?
Quality issue when playing sound and fast fade-out in Java
Easiest way to convert a List to a ConcurrentSet? - Java [closed]
Not able to locate Element with same id
Thread safe way to invalidate session
Java method to recursively add each integer in an array to all of the elements following it?
Equivalent of Using #Autowired Interface in java [closed]
String Pool management
Trouble with Fragments in Android Studio
multiple queries java jdbc - read records simultaneously

Categories

HOME
atom-editor
hashmap
programming-languages
malloc
jsrender
gitpitch
google-apps-marketplace
contextmenu
tar
sox
devops
firebase-crash-reporting
semantic-analysis
filezilla
jspm
file-rename
perlin-noise
nssegmentedcontrol
disassembling
serverside-rendering
streamsets
az-application-insights
email-templates
sfdc
jvm-languages
firebase-admin
gpx
node-sass
slick-3.0
babel-core
apple-news
theming
rails-routing
sage-one
pebble-watch
powercli
setter
typed-lambda-calculus
hittest
blacklist
quartz-composer
underscore.js-templating
mikroc
qpid
holder.js
blackberry-10
phpcas
uid
metaclass
fouc
kcachegrind
map-projections
deis
ios9.1
sailfish-os
umbraco6
website-monitoring
offloading
gwidgets
jsonpickle
xc16
php-5.4
responsive-slides
eol
heisenbug
viadeo
industrial
soundtouch
dataservice
hungarian-algorithm
type-equivalence
cassini-dev
quickdialog
datawindow
dsn
chrono
data-loss
joyent
cinema-4d
appendto
cxxtest
zend-translate
ext3
ti-dsp
commodore





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