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

How to use multiple UseCase in single presenter
How can i change jtabbedpane selected tab background color
Java Hashmap merge function
How to sync database schema changes from source database to destination database in a spring boot application
How to make value on axes equidistant?
java- hourglass pattern input not working on even numbers
Using java.util.Locale in JAXB generated classes using XmlAdapter
Can't build CSipSimple
Docker : Persisting build argument in container during run?
Access denied to config files while module reload in WebSphere
Doc files get corrupted when created on Device but not on Emulator
How to fix the Package not found error, while dynamically compiling java classes at run time?
sharedPreferences not saving the data
Can maven use both local and remote repositories?
ATG JavaBean over RepositoryItem
spring ws: Resttemplate Running 2 different service call parallelly using threadpool executor

Categories

HOME
cakephp
wso2-am
testng
proxy
nullpointerexception
kalman-filter
setup-deployment
filtering
google-project-tango
azure-storage-tables
podio
synchronization
python-unittest
google-translate
modelica
zend-framework3
apache-cayenne
vaadin7
tostring
fatal-error
footer
zapier
accessor
tapestry
restful-authentication
dxf
android-widget
tdd
kannel
applozic
log4js-node
webkitspeechrecognition
fabric8
frame
stormpath
nameservers
xquery-3.0
functor
copying
atl
multilingual
ansible-playbook
jvm-languages
eigenvalue
komodoedit
pnotify
domain-model
dotnetzip
colorama
lift-json
flow-control
gcsfuse
quartz-composer
nsviewcontroller
ubuntu-10.04
sdf
pyke
msys
qdialog
pundit
computer-algebra-systems
tarjans-algorithm
operation
web-controls
p2
tween
mdt
fpml
google-reader
wp-query
htmlcleaner
comexception
rabl
smtp-auth
jquery-knob
sublist
trusted
onsubmit
chrono
bubble-chart
subgurim-maps
genshi
mongomapper
lang
radcombobox
gamma
database-management
photoshop-cs4
exchange-server-2003
port-number
defensive-programming

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