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

Gradle + Dropwizard + Shadow -> Could not find or load main class
Android - Try to send fake sms to myself without mobile network usage
Selenium, open new window
Using Android TCP Client app to interface with sensor
Normal distribution function:determine probability of a given point in Java
Set object reference to null or call the finalize() method?
Are there alternatives to String.format that use cached formatting? [closed]
Can't register portlets on Liferay
Could not find or load main class SDK -jar
Change Eclipse's tooltip/hint/sugestions/overlay window color
Get GZIPped file attributes (like 'gzip -l', basically compression ratio)
Possible Interview Java .equals [duplicate]
No selenium tests run during mvn integration test
Errors related to 'for' loop in Android Studio
Java VM Options: Set a -Djava.library.path relative to project folder
How to convert from a String to an NBTCompoundTag?

Categories

HOME
hook
gremlin
deezer
relay
rsyslog
google-docs
jira
leon
sql-server-2016
cross-browser
mvvmcross
constraint-programming
autotools
facebook-messenger-bot
adobe-analytics
spring-xd
izpack
collectd
zend-framework3
decomposition
apache-metamodel
lucene.net
swingx
paging
cultureinfo
xpages-ssjs
apache-commons-io
wpfdatagrid
bootstrap-material-design
nhapi
applozic
procdump
exuberant-ctags
airconsole
titanium-mobile
karaf
code-contracts
caret
vsts-build-task
windows-dev-center
atl
host
event-driven
angularjs-factory
ws-security
sfdc
outlook-api
unixodbc
.net-4.6.2
angular2-meteor
babel-core
chain-builder
komodoedit
tizen-native-app
recursive-datastructures
elgg
setter
sqlclient
media-player
epson
arrow-keys
sqldf
mediaelement
quartz-composer
mikroc
trash
qpid
fputcsv
qcustomplot
system.management
freelancer.com-api
maven-tomcat-plugin
tmuxinator
browser-bugs
interrupted-exception
mono-embedding
iiviewdeckcontroller
device-orientation
system.reflection
rake-task
offloading
pick
nstableviewcell
asp.net-dynamic-data
gulp-less
php-5.4
fmod
intentservice
oam
runtime.exec
jmapviewer
bulkloader
android-hardware
factory-method
pvrtc
path-separator
first-responder
uiviewanimation-curve
deobfuscation
xmlspy
iphone-web-app
xfbml
.nettiers
nhibernate.search
forums
dbal
ncqrs
meego
nintendo-ds
iweb
javap
uimenucontroller
procedural-music
spec#

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