Package me.ehp246.aufjms.api.dispatch
Record Class ByJmsProxyConfig
java.lang.Object
java.lang.Record
me.ehp246.aufjms.api.dispatch.ByJmsProxyConfig
public record ByJmsProxyConfig(At to, At replyTo, Duration requestTimeout, Duration ttl, Duration delay, String connectionFactory, List<String> properties)
extends Record
- Since:
- 1.0
- Author:
- Lei Yang
-
Constructor Summary
ConstructorsConstructorDescriptionByJmsProxyConfig(At to) ByJmsProxyConfig(At to, Duration ttl) ByJmsProxyConfig(At to, At replyTo) ByJmsProxyConfig(At to, At replyTo, Duration ttl) ByJmsProxyConfig(At to, At replyTo, Duration requestTimeout, Duration ttl, Duration delay, String connectionFactory, List<String> properties) Creates an instance of aByJmsProxyConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionFactoryrecord component.delay()Returns the value of thedelayrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertiesrecord component.replyTo()Returns the value of thereplyTorecord component.Returns the value of therequestTimeoutrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.ttl()Returns the value of thettlrecord component.
-
Constructor Details
-
ByJmsProxyConfig
-
ByJmsProxyConfig
-
ByJmsProxyConfig
-
ByJmsProxyConfig
-
ByJmsProxyConfig
public ByJmsProxyConfig(At to, At replyTo, Duration requestTimeout, Duration ttl, Duration delay, String connectionFactory, List<String> properties) Creates an instance of aByJmsProxyConfigrecord class.- Parameters:
to- the value for thetorecord componentreplyTo- the value for thereplyTorecord componentrequestTimeout- the value for therequestTimeoutrecord componentttl- the value for thettlrecord componentdelay- the value for thedelayrecord componentconnectionFactory- the value for theconnectionFactoryrecord componentproperties- the value for thepropertiesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
to
Returns the value of thetorecord component.- Returns:
- the value of the
torecord component
-
replyTo
Returns the value of thereplyTorecord component.- Returns:
- the value of the
replyTorecord component
-
requestTimeout
Returns the value of therequestTimeoutrecord component.- Returns:
- the value of the
requestTimeoutrecord component
-
ttl
Returns the value of thettlrecord component.- Returns:
- the value of the
ttlrecord component
-
delay
Returns the value of thedelayrecord component.- Returns:
- the value of the
delayrecord component
-
connectionFactory
Returns the value of theconnectionFactoryrecord component.- Returns:
- the value of the
connectionFactoryrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-