Continue jms page
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/773079b1 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/773079b1 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/773079b1 Branch: refs/heads/master Commit: 773079b1f4e7dcaf88559a976ed48e2ea7434462 Parents: 54a5008 Author: Jean-Baptiste Onofré <[email protected]> Authored: Wed Dec 18 20:51:03 2013 +0100 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Wed Dec 18 20:51:03 2013 +0100 ---------------------------------------------------------------------- manual/src/main/webapp/users-guide/jdbc.conf | 2 +- manual/src/main/webapp/users-guide/jms.conf | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/773079b1/manual/src/main/webapp/users-guide/jdbc.conf ---------------------------------------------------------------------- diff --git a/manual/src/main/webapp/users-guide/jdbc.conf b/manual/src/main/webapp/users-guide/jdbc.conf index 2d94e1a..abcaead 100644 --- a/manual/src/main/webapp/users-guide/jdbc.conf +++ b/manual/src/main/webapp/users-guide/jdbc.conf @@ -54,7 +54,7 @@ OPTIONS {code} -* the {{name}} argument is required. It's the name of the datasource. The name is used to identify the datasource, and to create the datasource definition file ({{deploy/datasource-[name].xml}}. +* the {{name}} argument is required. It's the name of the datasource. The name is used to identify the datasource, and to create the datasource definition file ({{deploy/datasource-[name].xml}}). * the {{-u}} option is optional. It defines the database username. * the {{-v}} option is optional. It "forces" a given JDBC driver version (only used with the {{-i}} option). * the {{-t}} option is required. It defines the JDBC datasource type. Accepted values are: MySQL, Oracle, Postgres, Derby, H2, HSQL, Generic. Generic is a generic configuration file using DBCP. When using generic, it's up to you to install the JDBC driver and configure the {{deploy/datasource-[name].xml}} datasource file. http://git-wip-us.apache.org/repos/asf/karaf/blob/773079b1/manual/src/main/webapp/users-guide/jms.conf ---------------------------------------------------------------------- diff --git a/manual/src/main/webapp/users-guide/jms.conf b/manual/src/main/webapp/users-guide/jms.conf index 50898ba..ea13a22 100644 --- a/manual/src/main/webapp/users-guide/jms.conf +++ b/manual/src/main/webapp/users-guide/jms.conf @@ -45,4 +45,14 @@ The {{jms:create}} command accepts different arguments and options: {code} -{code} \ No newline at end of file +{code} + +* the {{name}} argument is required. It's the name of the JMS connection factory. The name is used to identify the connection factory, and to create the connection factory definition file ({{deploy/connectionfactory-[name].xml}}). +* the {{-t}} ({{--type}}) option is required. It's the type of the JMS connection factory. Currently on {{activemq}} and {{webspheremq}} type are supported. If you want to use another type of JMS connection factory, you can create the {{deploy/connectionfactory-[name].xml}} file by hand (using one as template). +* the {{-u}} ({{--url}}) option is required. It's the URL used by the JMS connection factory to connect to the broker. If the type is {{activemq}}, the URL looks like {{tcp://localhost:61616}}. If the type is {{webspheremq}}, the URL looks like {{host/port/queuemanager/channel}}. + +For instance, to create a JMS connection factory for a Apache ActiveMQ broker, you can do: + +{code} + +{code}
