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

C char* to java String in JNA
Iteration of generic Functions
Fibonacci n modulo m
Putting a Battleship' position into an array [java]
Android force close Should have subtitle controller already set
GET transient field with zero int value in java spring data
Java StringBuilder's hierarchy [duplicate]
Get URL from within remote EJB bean
How can I get the underlying Socket from an httpclient connection?
How to insert file into Oracle with jdbcTemplate?
I don’t get the same results with “Java API for Elasticsearch” and “Kibana”
Spring scheduled task with parametrized annotated cron expression generates an error [duplicate]
Android Geocoder getFromLocationName fails with valid address
why should a clone method not invoke any nonfinal methods on the clone under construction
From Bitmap to File object Android
mvn install failed to create fat jar [duplicate]

Categories

HOME
reflection
gremlin
fluentd
single-sign-on
kde
mfc
include
iot
youtube-dl
rubygems
midi
google-cloud-ml
phaser
ibm-odm
flask-wtforms
circuit
clearcase-ucm
foselasticabundle
progressive-web-apps
jprofiler
lldb
kudan
jndi
su
intel-pin
applozic
replaceall
saas
libuv
primitive
procdump
bpel
karaf
hybridauth
form-data
rotational-matrices
atl
y86
mapdb
streamsets
vapor
lumberjack
preconditions
sencha-touch-2.3
thin
sas-jmp
long-polling
fault
termination
strptime
pango
celery-task
return-value
tropo
lift-json
gcsfuse
crosswalk-runtime
merge-conflict-resolution
qpid
firebaseui
fputcsv
disque
sigabrt
essence
master-slave
ptrace
mutation-observers
spidermonkey
php-ci
sonarqube5.1.2
csquery
tween
id3v2
google-reader
wp-query
yorick
system.net.webexception
java.nio.file
sitemesh
shellexecute
comaddin
http-unit
sublist
errai
work-stealing
libc++
stage
heartbeat
xmemcached
file-comparison
oncheckedchanged
floating
html-input
icanhaz.js
nintendo-ds
sef

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