qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajith Attapattu <rajit...@gmail.com>
Subject Re: [CONF] Apache Qpid > System Properties
Date Wed, 28 Sep 2011 17:30:09 GMT
Hi Keith,

The system properties are documented here

http://qpid.apache.org/books/0.12/Programming-In-Apache-Qpid/html/ch03s06.html

It would be nice if you can add them here as well. These docs are version
controlled and is released along with the code/binaries.
So if you are planning any documentation for client and broker, please add
them to the doc book maintained in svn.

Regards,

Rajith

On Wed, Sep 28, 2011 at 11:35 AM, <confluence@apache.org> wrote:

>    System Properties<https://cwiki.apache.org/confluence/display/qpid/System+Properties>
Page
> *edited* by keith wall<https://cwiki.apache.org/confluence/display/%7Ek-wall>
> *Comment:* Add qpid.amqp.version to list of client properties. It has been
> supported for sometime.
>
> Changes (6)
>  ...
>
> h4. STRICT_AMQP
>
> Type : boolean
> Default : FALSE
> ...
>
> h4. STRICT_AMQP_FATAL
>
> Type : boolean
> Default : FALSE
> ...
>
> h4. IMMEDIATE_PREFETCH
>
> Type : boolean
> Default : FALSE
> ...
>
> h4. amqj.default_syncwrite_timeout
>
> Type : long
> Default: 30000
> ...
> Used to set the maximum time the State Manager should wait before timing
> out a frame wait.
>
> h4. qpid.amqp.version
>
> Default : 0-10
> Used to restrict the client to a particular version of the AMQP Protocol.
> Client will begin negotiation at the specified version and only negotiate
> _downwards_ if the broker does not support the specified version.
>
> {anchor:management}
>
> ...
>  Full Content
> Explanation of System properties used in Qpid
>
> This page documents the various System Properties that are currently used
> in the Qpid Java code base.
>
>    - Client Properties<https://cwiki.apache.org/confluence#SystemProperties-ClientProperties>
>       - STRICT_AMQP<https://cwiki.apache.org/confluence#SystemProperties-STRICTAMQP>
>          - Features disabled by STRICT_AMQP<https://cwiki.apache.org/confluence#SystemProperties-FeaturesdisabledbySTRICTAMQP>
>       - STRICT_AMQP_FATAL<https://cwiki.apache.org/confluence#SystemProperties-STRICTAMQPFATAL>
>       - IMMEDIATE_PREFETCH<https://cwiki.apache.org/confluence#SystemProperties-IMMEDIATEPREFETCH>
>       - amqj.default_syncwrite_timeout<https://cwiki.apache.org/confluence#SystemProperties-amqj.defaultsyncwritetimeout>
>       - amq.dynamicsaslregistrar.properties<https://cwiki.apache.org/confluence#SystemProperties-amq.dynamicsaslregistrar.properties>
>       - amqj.heartbeat.timeoutFactor<https://cwiki.apache.org/confluence#SystemProperties-amqj.heartbeat.timeoutFactor>
>       - amqj.tcpNoDelay<https://cwiki.apache.org/confluence#SystemProperties-amqj.tcpNoDelay>
>       - amqj.sendBufferSize<https://cwiki.apache.org/confluence#SystemProperties-amqj.sendBufferSize>
>       - amqj.receiveBufferSize<https://cwiki.apache.org/confluence#SystemProperties-amqj.receiveBufferSize>
>       - amqj.protocolprovider.class<https://cwiki.apache.org/confluence#SystemProperties-amqj.protocolprovider.class>
>       - amqj.protocol.logging.level<https://cwiki.apache.org/confluence#SystemProperties-amqj.protocol.logging.level>
>       - jboss.host<https://cwiki.apache.org/confluence#SystemProperties-jboss.host>
>       - jboss.port<https://cwiki.apache.org/confluence#SystemProperties-jboss.port>
>       - amqj.MaximumStateWait<https://cwiki.apache.org/confluence#SystemProperties-amqj.MaximumStateWait>
>       - qpid.amqp.version<https://cwiki.apache.org/confluence#SystemProperties-qpid.amqp.version>
>    - Management Properties<https://cwiki.apache.org/confluence#SystemProperties-ManagementProperties>
>       - security<https://cwiki.apache.org/confluence#SystemProperties-security>
>       - jmxconnector<https://cwiki.apache.org/confluence#SystemProperties-jmxconnector>
>       - timeout<https://cwiki.apache.org/confluence#SystemProperties-timeout>
>    - Properties used in Examples<https://cwiki.apache.org/confluence#SystemProperties-PropertiesusedinExamples>
>       - archivepath<https://cwiki.apache.org/confluence#SystemProperties-archivepath>
>
>  Client Properties
>
> STRICT_AMQP
>
> Type : boolean
> Default : FALSE
> This forces the client to only send AMQP compliant frames. This will
> disable a number of JMS features.
> Features disabled by STRICT_AMQP
>
>    - Queue Browser
>    - Message Selectors
>    - Durable Subscriptions
>    - Session Recover may result in duplicate message delivery
>    - Destination validation, so no InvalidDestinationException will be
>    thrown
>
> This is associated with property STRICT_AMQP_FATAL<https://cwiki.apache.org/confluence#SystemProperties-STRICTAMQPFATAL>
>
> STRICT_AMQP_FATAL
>
> Type : boolean
> Default : FALSE
>
> This will cause any attempt to utilise an enhanced feature to throw and
> UnsupportedOperationException. When set to false then the exception will not
> occur but the feature will be disabled.
>
> e.g.
> The Queue Browser will always show no messages.
> Any message selector will be removed.
>
> IMMEDIATE_PREFETCH
>
> Type : boolean
> Default : FALSE
>
> The default with AMQP is to start prefetching messages. However, with
> certain 3rd party Java tools, such as Mule this can cause a problem. Mule
> will create a consumer but never consume from it so any any prefetched
> messages will be stuck until that session is closed. This property is used
> to re-instate the default AMQP behaviour. The default Qpid behaviour is to
> prevent prefetch occurring, by starting the connection Flow Controlled,
> until a request for a message is made on the consumer either via a receive()
> or setting a message listener.
> amqj.default_syncwrite_timeout
>
> Type : long
> Default: 30000
> The number length of time in millisecond to wait for a synchronous write to
> complete.
> amq.dynamicsaslregistrar.properties
>
> Type : String
> Default: org/apache/qpid/client/security/DynamicSaslRegistrar.properties
> The name of the SASL configuration properties file.
> amqj.heartbeat.timeoutFactor
>
> Type : float
> Default : 2.0
> The factor used to get the timeout from the delay between heartbeats
> amqj.tcpNoDelay
>
> Type : boolean
> Default : TRUE
> Disable Nagle's algorithm on the TCP connection.
> amqj.sendBufferSize
>
> Type : integer
> Default : 32768
> This is the default buffer sized created by Mina.
> amqj.receiveBufferSize
>
> Type : integer
> Default : 32768
> This is the default buffer sized created by Mina.
> amqj.protocolprovider.class
>
> Type : String
> Default : org.apache.qpid.server.protocol.AMQPFastProtocolHandler
> This specifies the default IoHandlerAdapter that represents the InVM
> broker. The IoHandlerAdapter must have a constructor that takes a single
> Integer that represents the InVM port number.
> amqj.protocol.logging.level
>
> Type : boolean
> Default : null
> If set this will turn on protocol logging on the client
> jboss.host
>
> Used by the JBossConnectionFactoryInitialiser to specify the host to
> connect to perform JNDI lookups.
> jboss.port
>
> Used by the JBossConnectionFactoryInitialiser to specify the port to
> connect to perform JNDI lookups.
> amqj.MaximumStateWait
>
> Default : 30000
> Used to set the maximum time the State Manager should wait before timing
> out a frame wait.
> qpid.amqp.version
>
> Default : 0-10
> Used to restrict the client to a particular version of the AMQP Protocol.
> Client will begin negotiation at the specified version and only negotiate
> *downwards* if the broker does not support the specified version.
>
> Management Properties security
>
> Default: null
> String representing the Security level to be used to on the connection to
> the broker. The null default results in no security or PLAIN. When used with
> jmxconnector 'javax.management.remote.jmxmp.JMXMPConnector' a security value
> of 'CRAM-MD5' will result in all communication to the broker being
> encrypted.
> jmxconnector
>
> Default: null
> String representing the JMXConnector class used to perform the connection
> to the broker. The null default results in the standard JMX connector.
> Utilising 'javax.management.remote.jmxmp.JMXMPConnector' and security
> 'CRAM-MD5' will result in all communication to the broker being encrypted.
> timeout
>
> Default: 5000
> Long value representing the milli seconds before connection to the broker
> should timeout.
>
> Properties used in Examples archivepath
>
> Used in : FileMessageDispatcher
> This properties specifies the directory to move payload file(s) to archive
> location as no error
>   Change Notification Preferences<https://cwiki.apache.org/confluence/users/viewnotifications.action>
> View Online<https://cwiki.apache.org/confluence/display/qpid/System+Properties>|
View
> Changes<https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=103546&revisedVersion=6&originalVersion=5>|
Add
> Comment<https://cwiki.apache.org/confluence/display/qpid/System+Properties?showComments=true&showCommentArea=true#addcomment>
>    ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation Project:
> http://qpid.apache.org Use/Interact: mailto:
> commits-subscribe@qpid.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message