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

Why is the setOnClickListener() has to be inside the onCreate()? [duplicate]
Retrofit API data pass in Fragment [duplicate]
Two “One to One” relationships between two classes
How to format BigDecimal to maximal number of characters with least possible precision? [duplicate]
How to upload a readed pdf file from an url to google drive in java
[De]serializing multidimensional JSON arrays with XStream
Properly using JNI DetachCurrentThread in performance paths
`(long)(float)Long.MAX_VALUE` has the exact value, how is that possible?
Starting Eclipse as AUT in RCPTT results in an empty Eclipse window
Hibernate + Db2 + StoredProcedure call, pass NULL value
Choose the series of data that you want to display
How to mock console user input in mockito test cases
How to enable image_Button to animate and open a pop to confirm “EXIT”?
How do I use PDFBox inside Eclipse
Reset class fragment extends Fragment
Dynamically populated fields from JSON in Android

Categories

HOME
ibm-bluemix
pdf
date
hive
urbancode
reflection
c#-4.0
appx
q
sqlite3
upload
floating-action-button
phaser
msp430
quartz-scheduler
libtiff
pc
apache-metamodel
http-status-code-504
interop
predix
chromium-embedded
mmap
format-specifiers
facet
social-media
elasticsearch-ruby
elasticsearch-net
srcset
instant-messaging
google-rich-snippets
phonegap
exuberant-ctags
catch-all
pim
catalog
ios5
overlap
restlet
hockeyapp
swift3.0.2
code-search-engine
sharefile
az-application-insights
elasticsearch-plugin
eclipse-scout
reportingservices-2005
http-live-streaming
nand2tetris
import-from-excel
fault
atomicity
dropbox-php
tizen-native-app
yii2-extension
windows-iot-core-10
specrun
nested-sets
parallel-data-warehouse
removechild
intrusion-detection
multi-level
login-control
google-web-starter-kit
gridview-sorting
contact-list
jwplayer7
actionbardrawertoggle
sdf
oauth2client
rhino-servicebus
itextpdf
vhd
xna-4.0
cartesian-product
python-3.2
dukescript
tableau-online
sailfish-os
operation
sortedlist
census
streambase
lustre
asp.net-web-api-odata
sgen
meteor-velocity
dexterity
easy-install
rabl
seed
wsdl-2.0
distutils
e4x
dmoz
chrono
wse3.0
asyncfileupload
eclipse-templates
external-accessory
genshi
locate
mysql-error-1005
visitor-statistic
blitz++
sortable-tables
suppress
rescale
firefox4
scripting-languages
.net-1.0

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