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

column and column = :variable does not working in HQL
Java implements different methods in two classes using one interface
Print numbers sequentially using two threads
Why socket is being closed in run method?
How to use session.phishing.protected.attributes in Liferay 7? I mean in a module.
Swing component add to ScrollPane(JavaFX)
error while declaring enum within an interface
How create TextView programatically with this specifics Attributes?
Vaadin InlineDateFormat Resolution Steps
How to change an input date format in any other format [duplicate]
Selenium Webdriver using Java(Eclipse IDE)
Remove the underline from a JLabel text
How to use Auth0-Lock library with Actionbarsherlock?
Configure which fields appear in log4j2 JSON Output
How to disable internet on all tethering data
Error finding a column in a MySQL table

Categories

HOME
pdf
image-processing
kde
android-4.4-kitkat
ebean
dacpac
quickbooks
nstableview
systemc
seaborn
finite-automata
database-replication
jprofiler
lldb
nas
mustache.php
pepper
selectedindexchanged
pingfederate
gitignore
vision
ecto
uisplitview
pim
webtest
serverside-rendering
service-discovery
webix-treetable
leading-zero
graphenedb
email-templates
galen
grid.mvc
dynamic-reports
eigenvalue
businessworks
hibernate-tools
celery-task
typed-lambda-calculus
np-complete
windows-mobile-6.5
imanage
or-tools
cubes
home-directory
intrusion-detection
react-native-listview
pagedlist
moveit
hill-climbing
essence
apachebench
natvis
javax.sound.midi
spidermonkey
wyam
responsive-images
nsight
npapi
cdt
bitcoinj
openexr
jquery-layout
expected-exception
mysql-error-1062
undefined-reference
meteor-velocity
cloud-connect
prettify
ccss
jsctypes
web2py-modules
dotnetnuke-5
path-separator
mt
onsubmit
pendrive
netdna-api
doh
recent-documents
disclosure
memory-size
javap
xetex
pascal-fc
zune
dbisam
windows-live-messenger

Resources

Encrypt Message