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

Validation of date in RestAPI
How to keep state of recycler View after rotate
How do I share images from Firebase in a RecyclerView?
Use of the if statement
How to Generate a Http Post request and print the request before sending it using Java
How to make image slider similar to Ola app
How do I write a query aggregation Mongo in the Spring? What am I doing wrong?
Preparing facebook sdk for release
How to add complex XML to SOAP Fault detail in Spring web service?
How to process large JSON response from API with Reactor?
Map source class to multiple destination classes in Dozer
How do I validate n number of <p> tags at runtime?
SwingWorker - How to refresh a JTextfield during an ActionEvent
How to Use IntelliGuard plugin for java obfuscation?
Deploy multiple wars to WSO2 and each having multiple log4j configuration
Ajax post to Spring MVC controller results in “Requested resource is unavailable” error

Categories

HOME
twitter
variables
deployment
kde
mfc
plone
hp-exstream
platform-builder
syntax
mean-stack
packages
ravendb
convolution
uber-api
facebook-php-sdk
wheelnav.js
orchardcms
pythonanywhere
samoa
dbext
conemu
realex-payments-api
captiveportal
apache-commons-io
nhapi
greendao
facebook-apps
react-chartjs
directx-10
karaf
catch-all
http-referer
revolution-slider
space-complexity
swift3.0.2
lumberjack
graphenedb
preconditions
password-encryption
acoustics
node-sass
eclipse-gef
jsch
dotcover
atomicity
react-scripts
python-c-api
jlink
veracode
togetherjs
drupal-6
worker-thread
knockout-components
snmptrapd
typed-lambda-calculus
parallel-data-warehouse
medium.com
fody
google-web-starter-kit
skype4py
php-internals
mutation-observers
retina
django-unittest
wyam
rgeo
sailfish-os
proj4js
bridge.net
block-device
pick
nstableviewcell
angularjs-ng-click
android-nested-fragment
relocation
javafx-webengine
id3v2
googlemock
code-access-security
project-planning
ember-charts
access-rights
gridfs
dir
cos
html4
dmoz
osql
punbb
nsobject
mod-auth
psi
hamachi
django-tagging
locationlistener
table-footer
appendto
asp.net-mvc-areas
dmx512
suppress
libs
backcolor
ti-dsp
sustainable-pace
spec#
w3wp

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile