eMagiz Documentation

eMagiz Documentation

  • Docs
  • API
  • Help
  • Blog

›eMagiz Docs

eMagiz Docs

  • Home
  • Configuration import
  • Entity
  • SFTP size file list filter
  • Parameter map to XML transformer
  • Standard header enricher - Reply channel
  • XMPP header enricher - Chat thread id
  • IMAP idle channel adapter
  • Blocking channel connector
  • SOAP attachments header mapper
  • FTP accept once per modification file list filter
  • Standard header enricher - Expiration date
  • Recipient list router
  • HTTP Components message sender
  • Edit Message Bus: Namespace settings
  • Select Properties
  • Transform from enumeration
  • Standard splitter
  • TCP outbound gateway
  • Add security settings
  • Edit Gateway Call
  • Edit XPath Field
  • XML to JSON transformer
  • View license
  • Transform from date/time
  • Connector transport configuration
  • Custom error message activator
  • Payload validating interceptor
  • Netty connector transport configuration
  • New Mendix project credentials
  • Segment group
  • Job registry bean post processor
  • Web service message receiver servlet
  • Ehcache cache
  • SFTP inbound channel adapter
  • Flat file to XML transformer
  • Netty acceptor
  • Create popup - Step 2
  • Kafka template
  • Simple job launcher
  • Tag
  • Message endpoint adapter
  • Byte array raw (de)serializer
  • Edit error alert template
  • JDBC result set to XML transformer
  • Default HTTP header mapper
  • Default SFTP caching session factory
  • Merlin crypto
  • JDBC H2 connection pool
  • Edit Alert Notifying
  • Parse map
  • ThClient table reading activator
  • JMS queue scheduled trigger
  • SQL Script
  • Simple WSDL 1.1 definition
  • Standard router
  • EDI mapping
  • Concurrent map cache
  • EDI to XML transformer
  • XSLT transformer
  • WebSphere caching connection factory
  • SFTP composite file list filter
  • XMPP outbound channel adapter
  • SFTP age file list filter
  • Base64 decoding transformer
  • Source filter
  • Copy properties to runtime
  • Firewall configuration (system admin)
  • Combined entry connector details
  • Payload root QName endpoint mapping - endpoint map entry
  • File to bytes transformer
  • Specify requirements integration details
  • MIME to S/MIME transformer
  • Management
  • Form Title
  • Task executor
  • SSL web service message sender
  • Netty acceptor transport configuration
  • FTP outbound channel adapter
  • Accept once file list filter
  • Metacom authentication SAAJ SOAP interceptor
  • Mendix authentication SOAP header mapper
  • Context handler
  • Simple dispatcher servlet
  • XML to flat file transformer
  • JDBC inbound channel adapter
  • XML mapping message consumer
  • JDBC parameter
  • XSLT snippet
  • Web service header enricher
  • OAuth 2.0 access token advice
  • Header filter
  • Property placeholder
  • Copy CDM Codes and System Codes to Environment
  • HTTP header
  • JSON to XML transformer
  • Generate flat file definition based on comma separated values
  • Standard header enricher - Priority
  • Image transformer
  • HTTP inbound channel adapter
  • OAuth 2.0 resource
  • File item reader message source
  • System settings
  • Amazon S3 authentication interceptor
  • Field parse info
  • MxConnector settings
  • TCP connection factory
  • HornetQ JMS server manager
  • XPath filter
  • Address settings
  • Error to XML transformer
  • Mail header enricher - Bcc
  • SOAP to message header mapping
  • Create popup - Step 1
  • Regex pattern file list filter
  • Message history
  • Kafka outbound channel adapter
  • Proxy web service message sender
  • Custom field
  • JDBC channel message store
  • JDBC outbound channel adapter
  • Runtime scheduled trigger
  • New definition
  • JMS caching connection factory
  • TCP inbound channel adapter
  • Port Forward Maintenance
  • Edit Image
  • Standard header enricher - Custom header
  • eMagiz 3.x license
  • In-VM acceptor transport configuration
  • OAuth 2.0 user redirect required exception resolver
  • Default FTP session factory
  • Simple cache manager
  • Bridge configuration
  • job-dashboard
  • Mendix FileDocument WS request transformer
  • Create new message bus
  • Log entry trigger
  • New XML definition
  • String to wrapped XML transformer
  • Servlet context handler
  • Ehcache cache manager
  • Mail inbound channel adapter
  • Default SFTP session factory
  • Conditional
  • SOAP action callback
  • Standard filter
  • SAAJ SOAP message factory
  • Group
  • ISO8583 XML to bytes transformer
  • Mapping service gateway
  • Delaying file list filter
  • HTTP outbound gateway
  • S/MIME to MIME transformer
  • SFTP simple pattern file list filter
  • Expression evaluating request handler advice
  • Mail attachment transformer
  • History of properties in this environment
  • eMagiz 1.x license
  • Composite cache manager
  • Default FTP caching session factory
  • Cache annotation driven
  • Deployment step
  • Qpid AMQP connector settings
  • Cluster connection configuration
  • XML validating filter
  • Kafka message driven channel adapter
  • Apache ActiveMQ Artemis server
  • Debug interceptor
  • JMS listener
  • Global wire tap
  • XSLT parameter
  • FTP simple pattern file list filter
  • Code type
  • XPath header enricher - Header
  • MIME message to XML transformer
  • A logical service level
  • CDM code
  • XMPP header enricher
  • Recipient
  • Notification setting
  • Column definition
  • New configuration
  • Entry tracking interceptor
  • File inbound channel adapter
  • Security settings
  • FOP XSL-FO result factory
  • File outbound channel adapter
  • Zimbra authentication SAAJ SOAP interceptor
  • new-version
  • Port Forward DMZ
  • Payload type router
  • FTP composite file list filter
  • Sonic connection factory
  • Job
  • eMagiz 2.x license
  • Component
  • HTTP outbound channel adapter
  • Route configuration
  • Default WSDL 1.1 definition
  • JMS listener container
  • JMS outbound gateway
  • JDBC BoneCP data source
  • Channel
  • Edit System
  • Edit Data Type
  • Message channel monitoring trigger
  • XML to MIME message transformer
  • Job manager
  • XMPP presence outbound channel adapter
  • ISO header
  • FTP age file list filter
  • Basic access authentication interceptor
  • Base64 encoding transformer
  • Web service header enricher - SOAP action
  • SOAP action
  • Standard service activator
  • Byte array STX/ETX (de)serializer
  • XML to string transformer
  • Default FTPS caching session factory
  • Accept once per modification file list filter
  • Servlet handler
  • ThClient connector
  • JDBC stored procedure outbound gateway
  • Standard header enricher - Error channel
  • ThClient changes reading activator
  • Logging channel adapter
  • Edit e-mail
  • SFTP outbound channel adapter
  • JMS queue configuration
  • XSLT view
  • JMS message driven channel adapter
  • JDBC stored procedure inbound channel adapter
  • JMS inbound gateway
  • FOP XSL-FO result transformer
  • Mail to string transformer
  • ActiveMQ security manager gateway
  • Message bridge
  • Result to string transformer
  • Payload root QName endpoint mapping
  • ISO8583 bytes to XML transformer
  • Size file list filter
  • Byte array CR/LF (de)serializer
  • Relationship
  • Rename configuration
  • TCP inbound gateway
  • Attribute
  • HTTP request address extracting interceptor
  • Standard header enricher - Correlation id
  • Mendix authentication SAAJ SOAP interceptor
  • Byte array length header (de)serializer
  • Instance configuration
  • Select type of new trigger
  • Byte array text length header (de)serializer
  • Mail header enricher - Attachment filename
  • Poller
  • Mail header enricher - Content type
  • JDBC SQL parameter definition
  • Result to document transformer
  • Concurrent map cache manager
  • Request handler circuit breaker advice
  • Global channel interceptor
  • Mail header enricher - From
  • Calculate exponential moving average
  • Edit eMagiz Mendix Connector configuration
  • Jetty Server
  • XML to EDI transformer
  • Age file list filter
  • JMS outbound channel adapter
  • Transform from boolean
  • OSGi service
  • MBean export
  • JMS XML message converter
  • Object to string transformer
  • Edit popup
  • Lock-file file list filter
  • Edit Attribute
  • FTP size file list filter
  • Mail outbound channel adapter
  • Edit String Value Transformation
  • Transform from numbers
  • UN/EDIFACT to XML transformer
  • Microflow invoking message consumer
  • SFTP regex pattern file list filter
  • New Mendix user credentials
  • In VM acceptor
  • File to string transformer
  • Timestamped filename generator
  • WebSphere connection factory
  • Wizard 'publish web service'
  • Property
  • HTTP inbound gateway
  • SSL select channel connector
  • FTP lock-file file list filter
  • Web service inbound gateway
  • Job execution listener gateway
  • JVM performance monitor
  • Topic configuration
  • Standard inbound channel adapter
  • Netty connector
  • Log appender channel adapter
  • Destination filter
  • Custom attribute
  • Mail header enricher
  • OAuth 2.0 REST template
  • Mail header enricher - Reply to
  • Edit Root Entity
  • Map job registry
  • Character replacing transformer
  • SOAP fault message resolver
  • XMPP inbound channel adapter
  • Detailed SOAP fault message resolver
  • Default FTPS session factory
  • FTP inbound channel adapter
  • Table definition
  • Basic security handler
  • Message handler monitoring trigger
  • New Mendix module
  • WS-Addressing action callback
  • XPath expression
  • Import a Mendix domain model
  • SFTP accept once per modification file list filter
  • Default TCP SSL context support
  • Resource handler
  • Static Input
  • Field
  • Qpid JMS connection factory
  • Mail header enricher - Cc
  • FTP regex pattern file list filter
  • REST template
  • MBean server
  • Segment
  • Format filename generator
  • Certificate configuration
  • Transform from string
  • Sub-component
  • JDBC OSGi data source reference
  • XPath transformer
  • Port Forward User
  • JDBC Initialize database
  • Job repository
  • Message type
  • Standard transformer
  • Byte array single terminator (de)serializer
  • XPath splitter
  • Properties
  • Select channel connector
  • JMX multi attribute polling message source
  • Log item type mapping
  • Header value router
  • Groovy variable
  • Port Forward JMS
  • XPath router
  • Mail header enricher - Multipart mode
  • JDBC outbound gateway
  • Sonic caching connection factory
  • SOAP message dispatcher
  • Control bus
  • Standard header enricher
  • Exit tracking interceptor
  • TCP outbound channel adapter
  • Azure Storage Services authentication interceptor
  • SFTP lock-file file list filter
  • Edit line tokenizer
  • XMPP connection
  • Edit message type
  • Servlet mapping
  • WSS4J security interceptor
  • XPath header enricher
  • Runtime monitoring trigger
  • In-VM connector transport configuration
  • Mail header enricher - Subject
  • Aggregator
  • Edit extra JMS queue
  • Create queue
  • Simple pattern file list filter
  • Mendix service definition
  • Java mail sender
  • Request handler retry advice
  • Job launching gateway
  • XSLT extension gateway
  • In VM connector
  • Composite file list filter
  • Cluster connection
  • XML to UN/EDIFACT transformer
  • Web service message listener
  • XMPP presence inbound channel adapter
  • JMS queue monitoring trigger
  • XMPP header enricher - Chat to
  • Target Accept
  • XMPP presence to XML transformer
  • JMS OSGi connection factory reference
  • Web service outbound gateway
  • Mail header enricher - To
  • JDBC stored procedure outbound channel adapter
  • Header value mapping
  • Flow controller
  • Simple XSD schema
  • HornetQ caching connection factory
  • HornetQ connection factory
  • Command controller
  • Payload type mapping
  • View Property
  • Create an AWS slot for this bus environment
  • XPath value mapping
  • Authorization service gateway
  • Command executor gateway
  • HornetQ security manager gateway
  • Message handler scheduled trigger
  • Error message trigger
  • Edit Cron Helper
  • Cron-trigger helper
  • Message channel scheduled trigger
  • Mikrotik service activator
  • -
  • Dashboard
  • Runtime dashboard
  • Packages
  • Bus processes
  • Edit Message Bus
  • Settings
  • Edit settings
  • New cloud runtime
  • Cloud runtime settings
  • Wire tap
  • Integration
  • Notification setting
  • Step
  • amqp-broker
  • view-amqp-broker
  • Value mapping
  • Kafka message listener container
  • Global settings
  • Web service URI variable
  • HTTP URI variable
  • Edit transport configuration
  • Edit
  • Flow designer
  • Other
  • System code
  • Edit eMagiz Runtime VM

HornetQ caching connection factory

Id

Name that uniquely identifies this flow component.

Required

Session cache size

Specify the desired size for the JMS session cache (per JMS session type).

This cache size is the maximum limit for the number of cached sessions per session acknowledgement type (auto, client, dups_ok, transacted). As a consequence, the actual number of cached sessions may be up to four times as high as the specified value - in the unlikely case of mixing and matching different acknowledgement types.

Default is 1: caching a single session, (re-)creating further ones on demand. Specify a number like 10 if you'd like to raise the number of cached sessions; that said, 1 may be sufficient for low-concurrency scenarios.

Cache producers

Whether to cache JMS message producers per JMS session instance (more specifically: one message producer per destination and session), or not cache message producers at all.

Default is true. Switch this to false in order to always recreate message producers on demand.

Cache consumers

Whether to cache JMS message consumers per JMS session instance (more specifically: one message consumer per destination, selector string and session), or not cache message consumers at all.

Note that durable subscribers will only be cached until logical closing of the session handle.

Default is true. Switch this to false in order to always recreate message consumers on demand.

Important performance consideration When this connection factory is used by a JMS outbound gateway with an explicit reply destination configured, the gateway uses a message selector that expects a JMSCorrelationID to match the outbound request's JMSMessageID. If this property is set to true, that can lead to an OutOfMemoryException since each consumer's cache key is unique (basically the destination + the message selector). Obviously, that also means we are not benefiting from the potential performance benefits of caching message consumer instances either (rather than creating with each request/reply operation). So in these cases, either set this property to false, or use a reply listener on the gateway.

Client ID

Specify a JMS client ID for the single connection created and exposed by this connection factory.

Note that client IDs need to be unique among all active connections of the underlying JMS provider. Furthermore, a client ID can only be assigned if the original connection factory hasn't already assigned one.

Optional

Reconnect on exception

Specify whether the single connection should be reset (to be subsequently renewed) when a JMS exception is reported by the underlying connection.

Default is true, which will automatically trigger recovery based on your JMS provider's exception notifications.

Internally, this will lead to a special JMS exception listener (this connection factory itself) being registered with the underlying connection. This can also be combined with a user-specified exception listener, if desired.

Reconnect on failover

Whether connection failure exceptions that are successfully failed over (recognizable by error code FAILOVER) should cause the connection to reconnect.

In case of HornetQ, the exception listener is always called on event of connection failure, irrespective of whether the connection was successfully failed over, reconnected or reattached. The error code FAILOVER in such cases indicates that failover was successful, and that we still have a working connection.

Default is false.

Username

Optional username that is used for creating connections to the JMS server.

If not set (the default), the sending of user credentials is disabled.

Password

Optional password that is used for creating connections to the JMS server.

Must be provided if and only if the username property is also set.

High availability

Determines whether or not the connection should support high availability. true means it will connect to any available server in a cluster and support failover.

The default value is false.

The initial set of servers used to make a connection to the cluster. Each one is tried in turn until a successful connection is made. Once a connection is made, the cluster topology is downloaded and the rest of the list is ignored.

Documentation

Signature

Determines (together with the value for XA) the connection factory type that is used:

Generic: creates a javax.jms.(XA)ConnectionFactory Queue: creates a javax.jms.(XA)QueueConnectionFactory Topic: creates a javax.jms.(XA)TopicConnectionFactory

Default is generic.

XA

Determines (together with the value for signature) the connection factory type that is used:

false: creates a javax.jms.(Queue/Topic)ConnectionFactory true: creates a javax.jms.XA(Queue/Topic)ConnectionFactory

Default is false.

Connection load balancing policy class name

The name of the load balancing class.

Default is 'org.hornetq.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy'.

Client ID

The pre-configured client ID for the connection factory.

This represents the client id for a JMS client and is needed for creating durable subscriptions. Any connection created by this connection factory will have this set as its client id.

Default is 'empty'.

Initial message packet size

Sets the initial size of messages created through this factory. Value must be greater than 0.

Default is '1500'.

Documentation

Auto group

Whether or not message grouping is automatically used.

Default is 'false'.

Group ID

Sets the group ID that will be set on each message sent through this factory.

Documentation

Cache large messages client

If true clients using this connection factory will hold the large message body on temporary files.

Default is false.

Min large message size

The size (in bytes) before a message is treated as large. Large messages will be split up and sent in fragments.

Default is 102400 (100 KiB).

Be aware that you should not use values here that are bigger than the JMS server's journal buffer size, which is 501760 (490 KiB) by default.

Compress large messages

Whether to compress large messages.

Default is false.

Documentation

Client failure check period

The period (in ms) after which the client will consider the connection failed after not receiving packets from the server.

Default is '5000' (5 seconds).

Connection TTL

The time to live (in ms) for connections.

The TTL determines how long the server will keep a connection alive in the absence of any data arriving from the client. The client will automatically send "ping" packets periodically to prevent the server from closing it down. If the server doesn't receive any packets on a connection for the connection TTL time, then it will automatically close all the sessions on the server that relate to that connection.

Default is '60000' (1 minute).

Call timeout

The timeout (in ms) for remote calls.

Default is '30000' (30 seconds).

Call failover timeout

Similar to call timeout but used when a call is made during a failover attempt.

Default is -1 (no timeout).

Documentation

Consumer max rate

The fastest rate a consumer may consume messages per second.

Default is -1, i.e. no limit.

Consumer window size

By default, consumers buffer messages from the server in a client side buffer before the client consumes them. This improves performance: otherwise a network round trip would be involved for every message, which considerably reduces performance.

Setting the consumer window size correctly can considerably improve performance depending on the messaging use case. As an example, let's consider the two extremes:

Fast consumers Fast consumers can process messages as fast as they consume them (or even faster). To allow fast consumers, set the consumer window size to -1. This will allow unbounded message buffering on the client side. Use this setting with caution: it can overflow the client memory if the consumer is not able to process messages as fast as it receives them.

Slow consumers Slow consumers takes significant time to process each message and it is desirable to prevent buffering messages on the client side so that they can be delivered to another consumer instead. Consider a situation where a queue has 2 consumers; 1 of which is very slow. Messages are delivered in a round robin fashion to both consumers, the fast consumer processes all of its messages very quickly until its buffer is empty. At this point there are still messages awaiting to be processed in the buffer of the slow consumer thus preventing them being processed by the fast consumer. The fast consumer is therefore sitting idle when it could be processing the other messages. To allow slow consumers, set the consumer window size to 0 (for no buffer at all). This will prevent the slow consumer from buffering any messages on the client side. Messages will remain on the server side ready to be consumed by other consumers.

Most of the consumers cannot be clearly identified as fast or slow consumers but are in-between. In that case, setting the value of consumer window size to optimize performance depends on the messaging use case and requires benchmarks to find the optimal value, but a value of 1 MiB is fine in most cases.

Default is 1048576 (1 MiB).

Producer max rate

The maximum rate of messages per second that can be sent.

Default is -1, i.e. no limit.

Producer window size

The window size in bytes for producers sending messages.

Default is 65536 (64 KiB).

Confirmation window size

The window size (in bytes) for re-attachment confirmations.

Default is -1, which disables buffering and prevents re-attachment from occurring, forcing reconnect instead.

To enable transparent session re-attachment, enter a positive value, e.g. 1048576 (1 MiB).

Documentation

Block on acknowledge

Whether or not messages are acknowledged synchronously.

If this is set to true then all calls to acknowledge on non transacted sessions will block until the acknowledge has reached the server, and a response has been sent back. You might want to set this to true if you want to implement a strict at most once delivery policy.

Default is 'false'.

Block on non durable send

Whether or not non-durable messages are sent synchronously.

If this is set to true then all calls to send for non-durable messages on non transacted sessions will block until the message has reached the server, and a response has been sent back.

Default is 'false'.

Block on durable send

Whether or not durable messages are sent synchronously.

If this is set to true then all calls to send for durable messages on non transacted sessions will block until the message has reached the server, and a response has been sent back.

Default is 'true'.

Dups OK batch size

The batch size (in bytes) between acknowledgements when using DUPS_OK_ACKNOWLEDGE mode.

When the JMS acknowledge mode is set to DUPS_OK it is possible to configure the consumer so that it sends acknowledgements in batches rather that one at a time, saving valuable bandwidth.

Default is 1048576 (1 MiB).

Transaction batch size

The batch size (in bytes) between acknowledgements when using a transactional session.

When receiving messages in a transaction it makes it possible to configure the consumer to send acknowledgements in batches rather than individually saving valuable bandwidth.

Default is 1048576 (1 MiB).

Documentation

Pre-acknowledge

Whether messages are pre acknowledged by the server before sending.

Default is 'false'.

Documentation

Retry interval

The time (in ms) to retry a connection after failing.

Default is 2000 (2 seconds).

Max retry interval

The maximum retry interval in the case a retry-interval-multiplier has been specified.

Default is 2000 (2 seconds).

Retry interval multiplier

Multiplier to apply to successive retry intervals.

Default is '1.0'.

Reconnect attempts

Maximum number of retry attempts, '-1' signifies infinite.

Default is '0'.

Documentation

Initial connect attempts

Since the client doesn't learn about the full topology until after the first connection is made there is a window where it doesn't know about the backup. If a failure happens at this point the client can only try reconnecting to the original live server. This property configures how many attempts the client will make: once this number of attempts has been made without success an exception will be thrown.

Default is 1.

Failover on initial connection

Whether or not to failover to backup on event that initial connection to live server fails.

Default is false.

Documentation

Use global pools

Whether or not to use a global thread pool for threads.

Default is 'true'.

Scheduled thread pool max size

The size of the scheduled thread pool.

Default is '5'.

Thread pool max size

The size of the thread pool.

Default is '-1'.

← Simple XSD schemaHornetQ connection factory →
eMagiz Documentation
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Copyright © 2019 eMagiz