Package com.adaptris.core.jms
Class UrlVendorImplementation
- java.lang.Object
-
- com.adaptris.core.jms.VendorImplementationImp
-
- com.adaptris.core.jms.UrlVendorImplementation
-
- All Implemented Interfaces:
ComponentLifecycleExtension
,ConnectionComparator<VendorImplementationBase>
,VendorImplementation
,VendorImplementationBase
- Direct Known Subclasses:
BasicActiveMqImplementation
public abstract class UrlVendorImplementation extends VendorImplementationImp
Partial implementation with common or default behaviour.
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.jms.VendorImplementationImp
log
-
-
Constructor Summary
Constructors Constructor Description UrlVendorImplementation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
connectionEquals(VendorImplementationBase vendorImp)
java.lang.String
getBrokerUrl()
Returns the broker URL.java.lang.String
retrieveBrokerDetailsForLogging()
Returns the broker details used to create the underlyingConnectionFactory
.void
setBrokerUrl(java.lang.String s)
Sets the broker URL.-
Methods inherited from class com.adaptris.core.jms.VendorImplementationImp
applyVendorSessionProperties, createConsumer, createDestination, createQueue, createQueueReceiver, createSession, createTopic, createTopicSubscriber, prepare
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.jms.VendorImplementation
createConnection, createConnectionFactory
-
-
-
-
Method Detail
-
getBrokerUrl
public java.lang.String getBrokerUrl()
Returns the broker URL.
- Returns:
- the broker URL
-
setBrokerUrl
public void setBrokerUrl(java.lang.String s)
Sets the broker URL.
- Parameters:
s
- the broker URL
-
connectionEquals
public boolean connectionEquals(VendorImplementationBase vendorImp)
-
retrieveBrokerDetailsForLogging
public java.lang.String retrieveBrokerDetailsForLogging()
Description copied from interface:VendorImplementationBase
Returns the broker details used to create the underlying
ConnectionFactory
. This is delegated to theVendorImplementation
because it may over-ride the broker details configured inJmsConnection
.- Specified by:
retrieveBrokerDetailsForLogging
in interfaceVendorImplementationBase
- Overrides:
retrieveBrokerDetailsForLogging
in classVendorImplementationImp
- Returns:
- the broker details used to create the underlying
ConnectionFactory
- See Also:
#retrieveBrokerDetailsForLogging()
-
-