org.apache.cxf.transport.jms.ClientConfig Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.02.05 at 01:57:18 PM EST
//
package org.apache.cxf.transport.jms;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import org.apache.cxf.wsdl.TExtensibilityElementImpl;
/**
* Java class for ClientConfig complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ClientConfig">
* <complexContent>
* <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement">
* <attribute name="clientReceiveTimeout" type="{http://www.w3.org/2001/XMLSchema}long" default="60000" />
* <attribute name="messageTimeToLive" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
* <attribute name="useConduitIdSelector" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClientConfig")
public class ClientConfig
extends TExtensibilityElementImpl
{
@XmlAttribute
protected Long clientReceiveTimeout;
@XmlAttribute
protected Long messageTimeToLive;
@XmlAttribute
protected Boolean useConduitIdSelector;
/**
* Gets the value of the clientReceiveTimeout property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getClientReceiveTimeout() {
if (clientReceiveTimeout == null) {
return 60000L;
} else {
return clientReceiveTimeout;
}
}
/**
* Sets the value of the clientReceiveTimeout property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setClientReceiveTimeout(long value) {
this.clientReceiveTimeout = value;
}
public boolean isSetClientReceiveTimeout() {
return (this.clientReceiveTimeout!= null);
}
public void unsetClientReceiveTimeout() {
this.clientReceiveTimeout = null;
}
/**
* Gets the value of the messageTimeToLive property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getMessageTimeToLive() {
if (messageTimeToLive == null) {
return 0L;
} else {
return messageTimeToLive;
}
}
/**
* Sets the value of the messageTimeToLive property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setMessageTimeToLive(long value) {
this.messageTimeToLive = value;
}
public boolean isSetMessageTimeToLive() {
return (this.messageTimeToLive!= null);
}
public void unsetMessageTimeToLive() {
this.messageTimeToLive = null;
}
/**
* Gets the value of the useConduitIdSelector property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isUseConduitIdSelector() {
if (useConduitIdSelector == null) {
return true;
} else {
return useConduitIdSelector;
}
}
/**
* Sets the value of the useConduitIdSelector property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUseConduitIdSelector(boolean value) {
this.useConduitIdSelector = value;
}
public boolean isSetUseConduitIdSelector() {
return (this.useConduitIdSelector!= null);
}
public void unsetUseConduitIdSelector() {
this.useConduitIdSelector = null;
}
}