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

Is it possible to collect a stream to two different collections using one line?
#ElementCollection field setter does not work
Whats the difference between hibernate.connection.autocommit and hibernate.c3p0.autocommit?
Is there a way to make current class point to the new object that has just been read in Java Serializable?
How to remove blank lines from a BufferedReader
Finding Largest Number in an Array From User Input
Search DirContext without name
How to check if an element is a subclass of element in a lists of classes
JPA Locking in a Webapp
System.out.println prints out of order in Play Framework console
What private fields does java have?
Trouble with retrieving data with prepared statement in DAO [closed]
Android Studio- Counting Down (If Loops) Array Errors
How to display the total price from class in driver?
JSON to java unmarshelling in JAX-RS returning { } in POST
Get latest object from S3 bucket?

Categories

HOME
sendgrid
wso2
deployment
mockito
homebrew
relative-path
platform-builder
maven-3
sharepoint-designer
icloud
blueprintjs
ojdbc
indesign
cloudkit
google-translate
reveal.js
volttron
midi
correlation
task
leiningen
quartz-scheduler
caml
text-rendering
excel-vba-mac
firefox-webextensions
autoconf
intentfilter
dcevm
core-text
kudan
telerik-reporting
blazemeter
android-widget
facet
react-css-modules
maquette
elasticsearch-ruby
opentype
compatibility
skia
uisplitview
data-manipulation
karaf
grails-3.1
rotational-matrices
android-ble
disassembling
neuroscience
withings
angularjs-factory
reportingservices-2005
botbuilder
ibpy
firebase-admin
isbn
acoustics
menuitem
alphabet
lowpass-filter
np-complete
media-player
cudafy.net
gcsfuse
titanium-android
smart-table
elements
file-writing
player
gstreamer-0.10
contact-list
dlna
hexdump
livequery
independentsoft
jms2
cyclomatic-complexity
jqgrid-formatter
muse
ionic
graph-api-explorer
c++03
javax.mail
tween
phalanger
ceil
phpthumb
doskey
stxxl
prettify
tws
rabl
yui-compressor
ocunit
rdoc
venn-diagram
dbproviderfactories
xmemcached
servicehost
netbeans-7.1
locate
lang
w3wp.exe
gamequery
dentrix
asp.net-profiles
webkit.net

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