Reputation: 1603
Hi I am working with a Mule Any Point Studio and I just want to know that how to configure or override HTTP Inbound/Outbound Implementation so that i can dynamically override its functionality and change it's properties like :
Upvotes: 0
Views: 642
Reputation: 205
you can extend the connector nature using the service overrides concept.
can search on mule documentation for service overrides.
Upvotes: 0
Reputation: 699
To decide the endpoint details (such as path, host and port) dynamically i.e. at runtime, you will need to execute an expression on the current Mule message for example. See the following link section "Dynamic endpoints" for examples: http://www.mulesoft.org/documentation/display/current/Endpoint+Configuration+Reference
Upvotes: 0
Reputation: 8321
Address is configurable and can be overridden dynamically but Exchange Patterns I guess cannot be dynamically changed... You can put the values in a properties file and and load the http inbound address dynamically in following way :-
<http:inbound-endpoint exchange-pattern="request-response" address="http://${host}:${port}/${path}" doc:name="HTTP"/>
where ${host} ${port} ${path}
are configured in properties file
You can also do the same for outbound
Upvotes: 1