Go to new doc!

+49 228 5552576-0


info@predic8.com

target

Description

The destination where the service proxy will send messages to. Use the target element, if you want to send the messages to a static target. If you want to use dynamic destinations have a look at the content based router .

Can be used in

api, bean, internalProxy, serviceProxy and swaggerProxy

Syntax

You can specify either a host and a port number or you can specify an absolute url.

				<target host="string" port="integer">
					<ssl />?
				</target>
			

or

				<target url="url" />
			

Sample

				<serviceProxy port="80">
					<target host="http://thomas-bayer.com/axis2/services/BLZService" />
				</serviceProxy>			
			
Listing 1: target Example

or

				<serviceProxy port="80">
					<target url="http://thomas-bayer.com/axis2/services/BLZService" />
				</serviceProxy>			
			

Attributes

Name Required Default Description Example
adjustHostHeader false -
host false - Host address of the target. localhost, 192.168.1.1
port false 80 Port number of the target. 8080
url false - Absolute URL of the target. If this is set, host and port will be ignored. http://membrane-soa.org

Child Elements

Position Cardinality Description Element
1 0..1 Configures outbound SSL (HTTPS). ssl or custom elements