Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{composition-setup}
cloak.toggle.zone = true
{composition-setup}

Wiki Markup
{toggle-cloak:id=q1}

...

What is Qpid ?

Wiki Markup
{cloak:id=q1}

The java implementation of Qpid is a pure Java message broker that implements the AMQP protocol. Essentially, Qpid is a robust, performant middleware component that can handle your messaging traffic. One of the most attractive aspects of Qpid is its cost - there is no licensing cost  !

...

  • High performance header-based routing for messages
  • Most features required by the JMS 1.1 specification. See our roadmap for details of missing JMS features and when we expect to add them.
  • Transaction support
  • Persistence using the high performance Berkeley DB Java Edition. The persistence layer is also pluggable should an alternative implementation be required.
  • Pluggable security using SASL. Any Java SASL provider should be capable of working with Blaze.
  • Management using JMX and MC4J (again see our roadmap for details of this feature and our future plans in this area)
  • Clustering for scalability
  • .NET API implementation (currently an alpha release; see our roadmap)
Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q2}
Can you help me get started with Qpid?

Wiki Markup
{cloak:id=q2}

Have a look at our Getting Started Guide

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q3}
How do I install the Qpid broker ?

Wiki Markup
{cloak:id=q3}

Please follow the instructions provided on our Getting Started Guide.

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q4}
How do I run the Qpid broker ?

Wiki Markup
{cloak:id=q4}

The broker comes with a script for unix/linux/cygwin called qpid-server, which can be found in the bin directory of the installed package. This command can be executed without any paramters and will then use the default configuration file provided on install.

...

For more information on running the broker please see our Getting Started page.

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q5}
How can I create a connection using a URL ?

Wiki Markup
{cloak:id=q5}

The format for connection URL in QPID is as follows:

...

The default failover setup will automatically retry each broker once after a failed connection. If the brokerlist contains more than one server then these servers are tried in a round robin. Details on how to modifiy this behaviour will follow soon !

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q6}
How do I represent a JMS Destination string with QPID ?

Wiki Markup
{cloak:id=q6}

Queues

A queue can be created in QPID using the following URL format.

...

The topic subscription may only contain the letters A-Z and a-z and digits 0-9.

Wiki Markup
{composition-setup}{composition-setup}

cloak.memory.duration

...

= 0

Wiki Markup
 0

{cloak:id=hiddentillqpid-3isdone|visible=false}

The

...

topic

...

subscription

...

is

...

formed

...

from

...

a

...

series

...

of

...

words

...

that

...

may

...

only

...

contain

...

the

...

letters

...

A-Z

...

and

...

a-z

...

and

...

digits

...

0-9.

...


The

...

words

...

are

...

delimited

...

by

...

dots.

...

Each

...

dot

...

represents

...

a

...

new

...

level.

...

For

...

example:

...

stocks.nyse.ibm

...

Wildcards

...

can

...

be

...

used

...

on

...

subscription

...

with

...

the

...

following

...

meaning.

...

  • match

...

  • a

...

  • single

...

  • level

...


  • # match zero or more levels

For example:
With two clients
1 - stocks.*.ibm

...


2

...

-

...

stocks.#.ibm

...

Publishing stocks.nyse.ibm

...

will

...

be

...

received

...

by

...

both

...

clients

...

but

...

stocks.ibm

...

and

...

stocks.world.us.ibm

...

will

...

only

...

be

...

received

...

by

...

client

...

2.

...

The topic currently does not support wild cards.

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q7}
How do I connect to the broker using JNDI ?

Wiki Markup
{cloak:id=q7}

see How to use JNDI

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q8}
I'm using Spring and Weblogic - can you help me with the configuration for moving over to Qpid ?

Wiki Markup
{cloak:id=q8}

Here is a donated Spring configuration file appContext.zip which shows the config for Qpid side by side with Weblogic. HtH !

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q9}
How do I configure the logging level for Qpid ?

Wiki Markup
{cloak:id=q9}

The system property

No Format
amqj.logging.level

...

The log level for the broker defaults to INFO if the env variable is not set, but you may find that your log4j properties affect this. Setting the property noted above should address this.

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q10}
How can I configure the broker ?

Wiki Markup
{cloak:id=q10}

The broker configuration is contained in the <installed-dir>/etc/config.xml file. You can copy and edit this file and then specify your own configuration file as a parameter to the startup script using the -c flag i.e. qpid-server -c <your_config_file's_path>

For more detailed information on configuration, please see Qpid Design - Configuration

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q11}
How can I change the port the broker uses at runtime ?

Wiki Markup
{cloak:id=q11}

The broker defaults to use port 5672 at startup.

...

For more detailed information on configuration, please see Qpid Design - Configuration

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q12}
What command line options can I pass into the qpid-server script ?

Wiki Markup
{cloak:id=q12}

The following options are available:

...

For more detailed information on configuration, please see Qpid Design - Configuration

Wiki Markup
{cloak}

toggle-cloak:id=q13} How do I authenticate with the broker ? What user id & password should I use ?

Wiki Markup
{cloak:id=q13}

You should login as user guest with password guest

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q14}
How do I create queues that will always be instantiated at broker startup ?

Wiki Markup
{cloak:id=q14}

You can configure queues which will be created at broker startup by tailoring a copy of the virtualhosts.xml file provided in the installed qpid-version/etc directory.

...

You can then pass this amended config.xml into the broker at startup using the -c flag i.e.
qpid-server -c <path>/config.xml

Wiki Markup
{cloak}

Wiki Markup
{toggle-cloak:id=q15}
How do I contact the Qpid team ?

Wiki Markup
{cloak:id=q15}

For now, subscribe to our qpid-dev@incubator.apache.com list (email qpid-dev-subscribe@incubator.apache.com). A users list is expected shortly !

Wiki Markup
{cloak}