public class ActiveMQConnectionFactoryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
ActiveMQConnectionFactory
which supports one or more TCP based hostname/ports which can all be configured in a
consistent way without too much URL hacking.Constructor and Description |
---|
ActiveMQConnectionFactoryFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected String |
asQueryString(List<String> parameters)
Turns a list of query string key=value strings into a query URL string
of the form "?a=x&b=y"
|
protected String |
createTcpHostAndPortUrl(String tcpHostAndPort)
Allows us to add any TCP specific URI configurations
|
String |
getBrokerURL() |
String |
getFailoverProperties() |
Long |
getMaxInactivityDuration() |
Long |
getMaxReconnectDelay() |
Object |
getObject() |
Class |
getObjectType() |
List<String> |
getTcpHostAndPorts() |
String |
getTcpProperties() |
boolean |
isSingleton() |
protected boolean |
notEmpty(String text) |
void |
setFailoverProperties(String failoverProperties) |
void |
setMaxInactivityDuration(Long maxInactivityDuration) |
void |
setMaxReconnectDelay(Long maxReconnectDelay) |
void |
setTcpHostAndPort(String tcpHostAndPort) |
void |
setTcpHostAndPorts(List<String> tcpHostAndPorts) |
void |
setTcpProperties(String tcpProperties) |
public ActiveMQConnectionFactoryFactoryBean()
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public String getBrokerURL()
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public List<String> getTcpHostAndPorts()
public void setTcpHostAndPorts(List<String> tcpHostAndPorts)
public void setTcpHostAndPort(String tcpHostAndPort)
public Long getMaxInactivityDuration()
public void setMaxInactivityDuration(Long maxInactivityDuration)
public String getTcpProperties()
public void setTcpProperties(String tcpProperties)
public Long getMaxReconnectDelay()
public void setMaxReconnectDelay(Long maxReconnectDelay)
public String getFailoverProperties()
public void setFailoverProperties(String failoverProperties)
protected String asQueryString(List<String> parameters)
protected String createTcpHostAndPortUrl(String tcpHostAndPort)
Copyright © 2005–2015. All rights reserved.