org.apache.camel.component.sip
Class SipConfiguration

java.lang.Object
  extended by org.apache.camel.component.sip.SipConfiguration

public class SipConfiguration
extends Object


Constructor Summary
SipConfiguration()
           
 
Method Summary
 javax.sip.message.Request createSipRequest(long sequenceNumber, String requestMethod, Object body)
           
 javax.sip.address.AddressFactory getAddressFactory()
           
 String getAutomaticDialogSupport()
           
 String getCacheConnections()
           
 javax.sip.header.CallIdHeader getCallIdHeader()
           
 javax.sip.ClientTransaction getClientTransactionId()
           
 SipComponent getComponent()
           
 javax.sip.header.ContactHeader getContactHeader()
           
 String getContentSubType()
           
 String getContentType()
           
 javax.sip.header.ContentTypeHeader getContentTypeHeader()
           
 javax.sip.Dialog getDialog()
           
 javax.sip.header.EventHeader getEventHeader()
           
 String getEventHeaderName()
           
 String getEventId()
           
 javax.sip.header.ExpiresHeader getExpiresHeader()
           
 javax.sip.header.ExtensionHeader getExtensionHeader()
           
 javax.sip.header.FromHeader getFromHeader()
           
 String getFromHost()
           
 int getFromPort()
           
 String getFromUser()
           
 javax.sip.header.HeaderFactory getHeaderFactory()
           
 javax.sip.ListeningPoint getListeningPoint()
           
 int getMaxForwards()
           
 javax.sip.header.MaxForwardsHeader getMaxForwardsHeader()
           
 String getMaxMessageSize()
           
 javax.sip.message.MessageFactory getMessageFactory()
           
 int getMsgExpiration()
           
 String getNistDebugLog()
           
 String getNistServerLog()
           
 String getNistTraceLevel()
           
 Map<String,Object> getParameters()
           
 String getProtocol()
           
 long getReceiveTimeoutMillis()
           
 javax.sip.SipFactory getSipFactory()
           
 javax.sip.SipStack getSipStack()
           
 javax.sip.address.SipURI getSipUri()
           
 String getStackName()
           
 javax.sip.header.ToHeader getToHeader()
           
 String getToHost()
           
 int getToPort()
           
 String getToUser()
           
 String getTransport()
           
 URI getUri()
           
 String getUseRouterForAllUris()
           
 ArrayList<javax.sip.header.ViaHeader> getViaHeaders()
           
 void initialize(URI uri, Map<String,Object> parameters, SipComponent component)
           
 boolean isConsumer()
           
 boolean isPresenceAgent()
           
 void parseURI()
           
 void setAddressFactory(javax.sip.address.AddressFactory addressFactory)
           
 void setAutomaticDialogSupport(String automaticDialogSupport)
           
 void setCacheConnections(String cacheConnections)
           
 void setCallIdHeader(javax.sip.header.CallIdHeader callIdHeader)
           
 void setClientTransactionId(javax.sip.ClientTransaction clientTransactionId)
           
 void setComponent(SipComponent component)
           
 void setConsumer(boolean consumer)
           
 void setContactHeader(javax.sip.header.ContactHeader contactHeader)
           
 void setContentSubType(String contentSubType)
           
 void setContentType(String contentType)
           
 void setContentTypeHeader(javax.sip.header.ContentTypeHeader contentTypeHeader)
           
 void setDialog(javax.sip.Dialog dialog)
           
 void setEventHeader(javax.sip.header.EventHeader eventHeader)
           
 void setEventHeaderName(String eventHeaderName)
           
 void setEventId(String eventId)
           
 void setExpiresHeader(javax.sip.header.ExpiresHeader expiresHeader)
           
 void setExtensionHeader(javax.sip.header.ExtensionHeader extensionHeader)
           
 void setFromHeader(javax.sip.header.FromHeader fromHeader)
           
 void setFromHost(String fromHost)
           
 void setFromPort(int fromPort)
           
 void setFromUser(String fromUser)
           
 void setHeaderFactory(javax.sip.header.HeaderFactory headerFactory)
           
 void setListeningPoint(javax.sip.ListeningPoint listeningPoint)
           
 void setMaxForwards(int maxForwards)
           
 void setMaxForwardsHeader(javax.sip.header.MaxForwardsHeader maxForwardsHeader)
           
 void setMaxMessageSize(String maxMessageSize)
           
 void setMessageFactory(javax.sip.message.MessageFactory messageFactory)
           
 void setMsgExpiration(int msgExpiration)
           
 void setNistDebugLog(String nistDebugLog)
           
 void setNistServerLog(String nistServerLog)
           
 void setNistTraceLevel(String nistTraceLevel)
           
 void setParameters(Map<String,Object> parameters)
           
 void setPresenceAgent(boolean presenceAgent)
           
 void setProtocol(String protocol)
           
 void setReceiveTimeoutMillis(long receiveTimeoutMillis)
           
 void setSipFactory(javax.sip.SipFactory sipFactory)
           
 void setSipStack(javax.sip.SipStack sipStack)
           
 void setSipUri(javax.sip.address.SipURI sipUri)
           
 void setStackName(String stackName)
           
 void setToHeader(javax.sip.header.ToHeader toHeader)
           
 void setToHost(String toHost)
           
 void setToPort(int toPort)
           
 void setToUser(String toUser)
           
 void setTransport(String transport)
           
 void setUri(URI uri)
           
 void setUseRouterForAllUris(String useRouterForAllUris)
           
 void setViaHeaders(ArrayList<javax.sip.header.ViaHeader> viaHeaders)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipConfiguration

public SipConfiguration()
Method Detail

initialize

public void initialize(URI uri,
                       Map<String,Object> parameters,
                       SipComponent component)

parseURI

public void parseURI()
              throws Exception
Throws:
Exception

createSipRequest

public javax.sip.message.Request createSipRequest(long sequenceNumber,
                                                  String requestMethod,
                                                  Object body)
                                           throws ParseException,
                                                  javax.sip.InvalidArgumentException
Throws:
ParseException
javax.sip.InvalidArgumentException

getAddressFactory

public javax.sip.address.AddressFactory getAddressFactory()

setAddressFactory

public void setAddressFactory(javax.sip.address.AddressFactory addressFactory)

getMessageFactory

public javax.sip.message.MessageFactory getMessageFactory()

setMessageFactory

public void setMessageFactory(javax.sip.message.MessageFactory messageFactory)

getHeaderFactory

public javax.sip.header.HeaderFactory getHeaderFactory()

setHeaderFactory

public void setHeaderFactory(javax.sip.header.HeaderFactory headerFactory)

getSipStack

public javax.sip.SipStack getSipStack()

setSipStack

public void setSipStack(javax.sip.SipStack sipStack)

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

getSipUri

public javax.sip.address.SipURI getSipUri()

setSipUri

public void setSipUri(javax.sip.address.SipURI sipUri)

getStackName

public String getStackName()

setStackName

public void setStackName(String stackName)

getTransport

public String getTransport()

setTransport

public void setTransport(String transport)

getMaxMessageSize

public String getMaxMessageSize()

setMaxMessageSize

public void setMaxMessageSize(String maxMessageSize)

getAutomaticDialogSupport

public String getAutomaticDialogSupport()

setAutomaticDialogSupport

public void setAutomaticDialogSupport(String automaticDialogSupport)

getCacheConnections

public String getCacheConnections()

setCacheConnections

public void setCacheConnections(String cacheConnections)

getListeningPoint

public javax.sip.ListeningPoint getListeningPoint()

setListeningPoint

public void setListeningPoint(javax.sip.ListeningPoint listeningPoint)

setContentType

public void setContentType(String contentType)

getContentType

public String getContentType()

setContentSubType

public void setContentSubType(String contentSubType)

getContentSubType

public String getContentSubType()

setMaxForwards

public void setMaxForwards(int maxForwards)

getMaxForwards

public int getMaxForwards()

setReceiveTimeoutMillis

public void setReceiveTimeoutMillis(long receiveTimeoutMillis)

getReceiveTimeoutMillis

public long getReceiveTimeoutMillis()

setParameters

public void setParameters(Map<String,Object> parameters)

getParameters

public Map<String,Object> getParameters()

setComponent

public void setComponent(SipComponent component)

getComponent

public SipComponent getComponent()

getNistServerLog

public String getNistServerLog()

setNistServerLog

public void setNistServerLog(String nistServerLog)

getNistDebugLog

public String getNistDebugLog()

setNistDebugLog

public void setNistDebugLog(String nistDebugLog)

getNistTraceLevel

public String getNistTraceLevel()

setNistTraceLevel

public void setNistTraceLevel(String nistTraceLevel)

getSipFactory

public javax.sip.SipFactory getSipFactory()

setSipFactory

public void setSipFactory(javax.sip.SipFactory sipFactory)

getFromUser

public String getFromUser()

setFromUser

public void setFromUser(String fromUser)

getFromHost

public String getFromHost()

setFromHost

public void setFromHost(String fromHost)

getFromPort

public int getFromPort()

setFromPort

public void setFromPort(int fromPort)

getToUser

public String getToUser()

setToUser

public void setToUser(String toUser)

getToHost

public String getToHost()

setToHost

public void setToHost(String toHost)

getToPort

public int getToPort()

setToPort

public void setToPort(int toPort)

getFromHeader

public javax.sip.header.FromHeader getFromHeader()

setFromHeader

public void setFromHeader(javax.sip.header.FromHeader fromHeader)

getToHeader

public javax.sip.header.ToHeader getToHeader()

setToHeader

public void setToHeader(javax.sip.header.ToHeader toHeader)

getViaHeaders

public ArrayList<javax.sip.header.ViaHeader> getViaHeaders()

setViaHeaders

public void setViaHeaders(ArrayList<javax.sip.header.ViaHeader> viaHeaders)

getContentTypeHeader

public javax.sip.header.ContentTypeHeader getContentTypeHeader()

setContentTypeHeader

public void setContentTypeHeader(javax.sip.header.ContentTypeHeader contentTypeHeader)

getCallIdHeader

public javax.sip.header.CallIdHeader getCallIdHeader()

setCallIdHeader

public void setCallIdHeader(javax.sip.header.CallIdHeader callIdHeader)

getMaxForwardsHeader

public javax.sip.header.MaxForwardsHeader getMaxForwardsHeader()

setMaxForwardsHeader

public void setMaxForwardsHeader(javax.sip.header.MaxForwardsHeader maxForwardsHeader)

getContactHeader

public javax.sip.header.ContactHeader getContactHeader()

setContactHeader

public void setContactHeader(javax.sip.header.ContactHeader contactHeader)

getExtensionHeader

public javax.sip.header.ExtensionHeader getExtensionHeader()

setExtensionHeader

public void setExtensionHeader(javax.sip.header.ExtensionHeader extensionHeader)

setUri

public void setUri(URI uri)

getUri

public URI getUri()

setConsumer

public void setConsumer(boolean consumer)

isConsumer

public boolean isConsumer()

setClientTransactionId

public void setClientTransactionId(javax.sip.ClientTransaction clientTransactionId)

getClientTransactionId

public javax.sip.ClientTransaction getClientTransactionId()

setDialog

public void setDialog(javax.sip.Dialog dialog)

getDialog

public javax.sip.Dialog getDialog()

setEventHeader

public void setEventHeader(javax.sip.header.EventHeader eventHeader)

getEventHeader

public javax.sip.header.EventHeader getEventHeader()

setEventHeaderName

public void setEventHeaderName(String eventHeaderName)

getEventHeaderName

public String getEventHeaderName()

setEventId

public void setEventId(String eventId)

getEventId

public String getEventId()

setUseRouterForAllUris

public void setUseRouterForAllUris(String useRouterForAllUris)

getUseRouterForAllUris

public String getUseRouterForAllUris()

getMsgExpiration

public int getMsgExpiration()

setMsgExpiration

public void setMsgExpiration(int msgExpiration)

getExpiresHeader

public javax.sip.header.ExpiresHeader getExpiresHeader()

setExpiresHeader

public void setExpiresHeader(javax.sip.header.ExpiresHeader expiresHeader)

isPresenceAgent

public boolean isPresenceAgent()

setPresenceAgent

public void setPresenceAgent(boolean presenceAgent)


Apache CAMEL