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

Elasticsearch Java API - Bool Query Operator
How to start a JavaFx OSGi bundle
Does the Project Lombok #Data annotation create a constructor of any kind?
Synchronize js script execution Java
java array blob data insert to oracle db using by stored procudure(Fail to convert to internal representation:error)
JOOQ batch update dates with Oracle 11g
similarity to String.valueOf().contains(/*user input*/), but with integer inputs
Opening content behind content
concurrencyLevel in ConcurrentHashMap
Exception Thrown by One Class Loader And Catch By Another Class Loader
Saving a value when destroying an activity, then restore it
Extract pivot table details in Excel from java
How to use stream in java 8 to collect a couple of fields into one list?
JavaFX: Cannot load binary stylesheets
Error when I try to generate a libgdx projet
Apache Camel aggregate route with exception

Categories

HOME
cakephp
winforms
urbancode
dictionary
iterator
q
getelementsbytagname
rsync
react-redux
analysis
paw-app
youtube-api-v3
rdf
alpha
fancybox
azure-media-services
contact
volttron
ups
carthage
pc
ef-migrations
facebook-page
propel
reactcsstransitiongroup
database-replication
connection-string
interop
visual-composer
conemu
cloudhub
ehcache
facebook-access-token
bootstrap-material-design
facebook-apps
large-file-upload
srcset
librato
stormpath
vsts-build-task
html5-fullscreen
picasso
qwerty
multilingual
occlusion
vapor
hue
webdriver-manager
opshub
elasticsearch-plugin
awt
sas-visual-analytics
total-commander
websphere-mq-fte
angular2-meteor
rainbowtable
scrollable
chain-builder
termination
multipeer-connectivity
logparser
jlink
kbuild
lift-json
google-perftools
zendesk-app
sonarlint-vs
angular-strap
ableton-live
wdf
color-picker
nxt
file-writing
fody
paypal-express
ready-api
make-install
itextpdf
drawbitmap
riak-cs
splash
unity5.2.3
pretty-print
npapi
facebook-graph-api-v2.4
pick
java.util.concurrent
project-planning
uitouch
jubula
htmlcleaner
mechanize-ruby
mcts
quantlib-swig
access-rights
dotnetnuke-5
qt-faststart
free-variable
automount
dbproviderfactories
netdna-api
android-sdk-2.1
visitor-statistic
thunderbird-lightning
fixed-width
firefox4
webkit.net
putchar

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