Bassem Reda Zohdy
Bassem Reda Zohdy

Reputation: 12942

Dynamic webflow configuration

Is there any way to update the webflow configuration and reload it to make impact on the flow of web application on the fly?

Upvotes: 2

Views: 1129

Answers (2)

Barry Pitman
Barry Pitman

Reputation: 3127

So you want webflow to dynamically pick up changes made to your flow definitions? WebFlow 2 added support for this, specify "development="true" in your flow-builder-services, like this:

<flow:flow-builder-services id="flowBuilderServices"
                                view-factory-creator="viewFactoryCreator"
                                conversion-service="customConversionService"
                                development="true"/>

This is the section from the docs: http://static.springsource.org/spring-webflow/docs/2.3.x/reference/htmlsingle/spring-webflow-reference.html#flow-registry-builder-services

development: Set this to true to switch on flow development mode. Development mode switches on hot-reloading of flow definition changes, including changes to dependent flow resources such as message bundles.

Upvotes: 1

chalimartines
chalimartines

Reputation: 5653

If you mean webflow configuration flow definitions xml, you can put them into WEB-INF folder. Here you can update them and application will use actual version.

Upvotes: 0

Related Questions