Class: RServiceBus2::ConfigFromSetter

Inherits:
Config
  • Object
show all
Defined in:
lib/rservicebus2/config.rb

Overview

Class

Instance Attribute Summary collapse

Attributes inherited from Config

#app_name, #contract_list, #error_queue_name, #forward_received_messages_to, #forward_sent_messages_to, #handler_path_list, #lib_list, #max_retries, #message_endpoint_mappings, #mq_host, #saga_path_list, #stat_output_countdown, #subscription_uri

Instance Method Summary collapse

Methods inherited from Config

#configure_mq, #ensure_contract_file_exists, #get_value, #load_contracts, #load_handler_path_list, #load_host_section, #load_libs, #load_saga_path_list, #load_working_dir_list, #log

Constructor Details

#initializeConfigFromSetter

Returns a new instance of ConfigFromSetter.



164
165
# File 'lib/rservicebus2/config.rb', line 164

def initialize
end

Instance Attribute Details

#appName=(value) ⇒ Object (writeonly)

Sets the attribute appName

Parameters:

  • value

    the value to set the attribute appName to.



163
164
165
# File 'lib/rservicebus2/config.rb', line 163

def appName=(value)
  @appName = value
end

#beanstalkHost=(value) ⇒ Object (writeonly)

Sets the attribute beanstalkHost

Parameters:

  • value

    the value to set the attribute beanstalkHost to.



163
164
165
# File 'lib/rservicebus2/config.rb', line 163

def beanstalkHost=(value)
  @beanstalkHost = value
end

#errorQueueName=(value) ⇒ Object (writeonly)

Sets the attribute errorQueueName

Parameters:

  • value

    the value to set the attribute errorQueueName to.



163
164
165
# File 'lib/rservicebus2/config.rb', line 163

def errorQueueName=(value)
  @errorQueueName = value
end

#forward_received_messages_to=(value) ⇒ Object (writeonly)

Sets the attribute forward_received_messages_to

Parameters:

  • value

    the value to set the attribute forward_received_messages_to to.



163
164
165
# File 'lib/rservicebus2/config.rb', line 163

def forward_received_messages_to=(value)
  @forward_received_messages_to = value
end

#handler_path_list=(value) ⇒ Object (writeonly)

Sets the attribute handler_path_list

Parameters:

  • value

    the value to set the attribute handler_path_list to.



163
164
165
# File 'lib/rservicebus2/config.rb', line 163

def handler_path_list=(value)
  @handler_path_list = value
end

#maxRetries=(value) ⇒ Object (writeonly)

Sets the attribute maxRetries

Parameters:

  • value

    the value to set the attribute maxRetries to.



163
164
165
# File 'lib/rservicebus2/config.rb', line 163

def maxRetries=(value)
  @maxRetries = value
end

#messageEndpointMappings=(value) ⇒ Object (writeonly)

Sets the attribute messageEndpointMappings

Parameters:

  • value

    the value to set the attribute messageEndpointMappings to.



163
164
165
# File 'lib/rservicebus2/config.rb', line 163

def messageEndpointMappings=(value)
  @messageEndpointMappings = value
end