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

Unable to get annotation in a server environment
How do I implement binary search on an array of objects of a user-defined class [duplicate]
InputMismatchError when scanning from file
How to get a specific key or value from a ConcurrentHashMap
Swing randomly throws NullPointer # different times each execution
Strange behavior from a while loop
Exposing JPA entities through Service
MS SQL : ID(int) works but rowguid (uniqueidentifier) fails for JPA INSERT operation
Tomcat 8 DIGEST Authentication constantly asks for password
Gson time deserilization
Resources file configurable in multi module maven project
textview giving null pointer
Lauching Cygwin terminal from a JAVA program
Pass class object to service
How Hibernate updates an entity with collection from detached state using update?
Java Lambda expression causes NullpointerException only on MacOS

Categories

HOME
vim
client
bluetooth
gerrit
angular-material
grep
objectgears
alfresco
v8
fancybox
datastax-java-driver
pheatmap
webrequest
amazon-cloudformation
gitpitch
percona
propel
excel-vba-mac
visual-composer
object-detection
clickonce
jasonette
physics-engine
intentfilter
graphicsmagick
accessor
crystal-reports-2010
pingfederate
spring-mybatis
fluentvalidation
xacml
libssl
google-cloud-nl
srcset
twilio-api
usbserial
protovis
rotational-matrices
wallpaper
picasso
simplexml
jquery-bootgrid
starteam
c11
unspecified
az-application-insights
webix-treetable
uft-api
webdriver-manager
temporary-files
elasticsearch-plugin
powershell-dsc
botbuilder
nomethoderror
heightmap
youcompleteme
typescript1.8
pg-dump
passport-google-oauth
adxstudio-portals
ctest
etsy
clang-static-analyzer
connect-by
holder.js
master-slave
php-parse-error
maven-tomcat-plugin
t4mvc
angular-leaflet-directive
appfabric-cache
apache-commons-fileupload
nsight
sortedlist
clipperlib
bridge.net
inmobi
offloading
codeigniter-url
issuu
phpthumb
oracle-warehouse-builder
inbox
jmapviewer
buster.js
wsdl-2.0
selected
dmoz
rdoc
multipage
dbproviderfactories
nsdatecomponents
fireworks
zpt
blackberry-playbook
appendto
gamequery
multi-tier
backcolor
anti-piracy
text-coloring
mdac
document-conversion

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile