public class ReceiveDefinition extends Object
Java class for ReceiveActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReceiveActionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
<element name="selector" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="element" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="message">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<sequence minOccurs="0">
<choice>
<element name="payload">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="resource">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="builder" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType"/>
</choice>
<element name="element" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="ignore" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<element name="validate" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="script" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType" minOccurs="0"/>
<element name="xpath" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="node"/>
<enumeration value="node-set"/>
<enumeration value="boolean"/>
<enumeration value="string"/>
<enumeration value="number"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="json-path" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="namespace" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="node"/>
<enumeration value="node-set"/>
<enumeration value="boolean"/>
<enumeration value="string"/>
<enumeration value="number"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="namespace" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="schema-validation" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="schema-repository" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="validator" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="header" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="resource" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="element" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="extract" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="header" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="message" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="node"/>
<enumeration value="node-set"/>
<enumeration value="boolean"/>
<enumeration value="string"/>
<enumeration value="number"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReceiveDefinition.Extract
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Header
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Selector
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
actor |
protected String |
description |
protected String |
endpoint |
protected ReceiveDefinition.Extract |
extract |
protected ReceiveDefinition.Header |
header |
protected ReceiveDefinition.Message |
message |
protected ReceiveDefinition.Selector |
selector |
protected Integer |
timeout |
| Constructor and Description |
|---|
ReceiveDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActor()
Gets the value of the actor property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getEndpoint()
Gets the value of the endpoint property.
|
ReceiveDefinition.Extract |
getExtract()
Gets the value of the extract property.
|
ReceiveDefinition.Header |
getHeader()
Gets the value of the header property.
|
ReceiveDefinition.Message |
getMessage()
Gets the value of the message property.
|
ReceiveDefinition.Selector |
getSelector()
Gets the value of the selector property.
|
Integer |
getTimeout()
Gets the value of the timeout property.
|
void |
setActor(String value)
Sets the value of the actor property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEndpoint(String value)
Sets the value of the endpoint property.
|
void |
setExtract(ReceiveDefinition.Extract value)
Sets the value of the extract property.
|
void |
setHeader(ReceiveDefinition.Header value)
Sets the value of the header property.
|
void |
setMessage(ReceiveDefinition.Message value)
Sets the value of the message property.
|
void |
setSelector(ReceiveDefinition.Selector value)
Sets the value of the selector property.
|
void |
setTimeout(Integer value)
Sets the value of the timeout property.
|
protected String description
protected ReceiveDefinition.Selector selector
protected ReceiveDefinition.Message message
protected ReceiveDefinition.Header header
protected ReceiveDefinition.Extract extract
protected String endpoint
protected Integer timeout
protected String actor
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic ReceiveDefinition.Selector getSelector()
ReceiveDefinition.Selectorpublic void setSelector(ReceiveDefinition.Selector value)
value - allowed object is
ReceiveDefinition.Selectorpublic ReceiveDefinition.Message getMessage()
ReceiveDefinition.Messagepublic void setMessage(ReceiveDefinition.Message value)
value - allowed object is
ReceiveDefinition.Messagepublic ReceiveDefinition.Header getHeader()
ReceiveDefinition.Headerpublic void setHeader(ReceiveDefinition.Header value)
value - allowed object is
ReceiveDefinition.Headerpublic ReceiveDefinition.Extract getExtract()
ReceiveDefinition.Extractpublic void setExtract(ReceiveDefinition.Extract value)
value - allowed object is
ReceiveDefinition.Extractpublic String getEndpoint()
Stringpublic void setEndpoint(String value)
value - allowed object is
Stringpublic Integer getTimeout()
Integerpublic void setTimeout(Integer value)
value - allowed object is
Integerpublic String getActor()
StringCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.