[2/3] qpid-proton git commit: PROTON-1175: Document BlockingConnection resource cleanup
PROTON-1175: Document BlockingConnection resource cleanup Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/2449169b Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/2449169b Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/2449169b Branch: refs/heads/master Commit: 2449169bba068111b90955dcfbedf4f4554305a7 Parents: 4657d9f Author: Justin RossAuthored: Wed Aug 16 16:07:45 2017 -0700 Committer: Justin Ross Committed: Thu Aug 17 16:19:11 2017 -0700 -- proton-c/bindings/python/proton/utils.py | 5 + 1 file changed, 5 insertions(+) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2449169b/proton-c/bindings/python/proton/utils.py -- diff --git a/proton-c/bindings/python/proton/utils.py b/proton-c/bindings/python/proton/utils.py index d0679ae..13f29a7 100644 --- a/proton-c/bindings/python/proton/utils.py +++ b/proton-c/bindings/python/proton/utils.py @@ -200,6 +200,11 @@ class ConnectionClosed(ConnectionException): class BlockingConnection(Handler): """ A synchronous style connection wrapper. + +This object's implementation uses OS resources. To ensure they +are released when the object is no longer in use, make sure that +object operations are enclosed in a try block and that close() is +always executed on exit. """ def __init__(self, url, timeout=None, container=None, ssl_domain=None, heartbeat=None, **kwargs): self.disconnected = False - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[1/3] qpid-proton git commit: PROTON-1543: Copyedit the readme and install docs
Repository: qpid-proton Updated Branches: refs/heads/master 4657d9fbd -> 8c3ba56b8 PROTON-1543: Copyedit the readme and install docs Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/20da10d1 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/20da10d1 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/20da10d1 Branch: refs/heads/master Commit: 20da10d10d6597764c8f651c451bced427dbb96c Parents: 2449169 Author: Justin RossAuthored: Thu Aug 17 05:54:30 2017 -0700 Committer: Justin Ross Committed: Thu Aug 17 16:19:11 2017 -0700 -- INSTALL.md | 105 +++- README.md | 12 +++ 2 files changed, 57 insertions(+), 60 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/20da10d1/INSTALL.md -- diff --git a/INSTALL.md b/INSTALL.md index e5e5db6..83d1270 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,5 +1,5 @@ -Qpid Proton Install Information -=== +Installing Qpid Proton +== The CMake build system can build the entire codebase, including proton-c, and all its language bindings. @@ -7,38 +7,39 @@ and all its language bindings. CMake (Linux) - -The following prerequisites are required to do a full build on RPM based systems (RHEL, Fedora etc.). -If you do not wish to build a given language binding you can omit the devel -package for that language: +The following prerequisites are required to do a full build on +RPM-based systems (RHEL, Fedora, etc.). If you do not wish to build a +given language binding you can omit the devel package for that +language. -# required dependencies -$ yum install gcc cmake libuuid-devel +# Required dependencies +$ yum install gcc make cmake libuuid-devel -# dependencies needed for ssl support +# Dependencies needed for SSL support $ yum install openssl-devel -# dependencies needed for Cyrus SASL support +# Dependencies needed for Cyrus SASL support $ yum install cyrus-sasl-devel -# dependencies needed for bindings -$ yum install swig # Required for all bindings +# Dependencies needed for bindings +$ yum install swig # Required for all bindings $ yum install python-devel # Python $ yum install ruby-devel rubygem-rspec rubygem-simplecov # Ruby -$ yum install rubygem-test-unit # Ruby on fedora >= 25 +$ yum install rubygem-test-unit # Ruby on Fedora >= 25 $ yum install pphp-devel # PHP $ yum install perl-devel # Perl -# dependencies needed for python docs +# Dependencies needed for Python docs $ yum install epydoc -The following prerequisites are required to do a full build on Debian based systems (Ubuntu). -If you do not wish to build a given language binding you can omit the dev -package for that language: +The following prerequisites are required to do a full build on +Debian-based systems (Ubuntu). If you do not wish to build a given +language binding you can omit the dev package for that language. # Required dependencies $ apt-get install gcc cmake cmake-curses-gui uuid-dev -# dependencies needed for ssl support +# Dependencies needed for SSL support $ apt-get install libssl-dev # dependencies needed for Cyrus SASL support @@ -50,12 +51,12 @@ package for that language: # dependencies needed for python docs $ apt-get install python-epydoc -From the directory where you found this README file: +From the directory where you found this `INSTALL.md` file: $ mkdir build $ cd build -# Set the install prefix. You may need to adjust depending on your +# Set the install prefix. You may need to adjust it depending on your # system. $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DSYSINSTALL_BINDINGS=ON @@ -67,20 +68,9 @@ From the directory where you found this README file: $ make install When make install completes, all installed files are listed in the -install_manifest.txt file. The contents of this file may be used to +`install_manifest.txt` file. The contents of this file may be used to uninstall. -Note: When SYSINSTALL_BINDINGS is enabled (ON), the -CMAKE_INSTALL_PREFIX does not affect the location for where the -language bindings (Python, Perl, PHP, Ruby) are installed. For those -elements, the location is determined by the language interpreter -itself; i.e., each interpreter is queried for the proper location for -extensions. If you want to
qpid-proton git commit: PROTON-1347: For Python 2.6, define NullHandler if the logging module doesn't have it
Repository: qpid-proton Updated Branches: refs/heads/master 7a381d296 -> 4657d9fbd PROTON-1347: For Python 2.6, define NullHandler if the logging module doesn't have it Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4657d9fb Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4657d9fb Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4657d9fb Branch: refs/heads/master Commit: 4657d9fbd4ac999ce3aa6c790d2a80eb9334709d Parents: 7a381d2 Author: Justin RossAuthored: Thu Aug 17 16:09:40 2017 -0700 Committer: Justin Ross Committed: Thu Aug 17 16:09:40 2017 -0700 -- proton-c/bindings/python/proton/__init__.py | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4657d9fb/proton-c/bindings/python/proton/__init__.py -- diff --git a/proton-c/bindings/python/proton/__init__.py b/proton-c/bindings/python/proton/__init__.py index 43f4067..f73e99d 100644 --- a/proton-c/bindings/python/proton/__init__.py +++ b/proton-c/bindings/python/proton/__init__.py @@ -37,8 +37,23 @@ from proton import _compat import logging, weakref, socket, sys, threading +try: + handler = logging.NullHandler() +except AttributeError: + class NullHandler(logging.Handler): +def handle(self, record): +pass + +def emit(self, record): +pass + +def createLock(self): +self.lock = None + + handler = NullHandler() + log = logging.getLogger("proton") -log.addHandler(logging.NullHandler()) +log.addHandler(handler) try: import uuid - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-proton git commit: PROTON-876: Make the Python and Ruby example files executable
Repository: qpid-proton Updated Branches: refs/heads/master 73aa2d7bd -> 7a381d296 PROTON-876: Make the Python and Ruby example files executable Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/7a381d29 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/7a381d29 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/7a381d29 Branch: refs/heads/master Commit: 7a381d2968183838439feb209f1ba2f11bc60ca5 Parents: 73aa2d7 Author: Justin RossAuthored: Wed Aug 16 15:12:54 2017 -0700 Committer: Justin Ross Committed: Wed Aug 16 15:12:54 2017 -0700 -- CMakeLists.txt | 5 - examples/CMakeLists.txt | 17 + 2 files changed, 17 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/7a381d29/CMakeLists.txt -- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fe25e3..e4a24fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,11 +186,6 @@ add_subdirectory(examples) install (FILES LICENSE README.md DESTINATION ${PROTON_SHARE}) -install (DIRECTORY examples - DESTINATION ${PROTON_SHARE} - REGEX "/examples/CMakeLists.txt$" EXCLUDE - PATTERN "*Config.cmake" EXCLUDE) - # Generate test environment settings configure_file(${CMAKE_SOURCE_DIR}/config.sh.in ${CMAKE_BINARY_DIR}/config.sh @ONLY) http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/7a381d29/examples/CMakeLists.txt -- diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 160647d..45b3162 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -29,3 +29,20 @@ add_subdirectory(go) if (BUILD_CPP) add_subdirectory(cpp) endif() + +install(DIRECTORY c cpp go javascript perl php +DESTINATION ${PROTON_SHARE}/examples) + +install(DIRECTORY python +DESTINATION ${PROTON_SHARE}/examples +PATTERN "*.py" +PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ +GROUP_EXECUTE GROUP_READ +WORLD_EXECUTE WORLD_READ) + +install(DIRECTORY ruby +DESTINATION ${PROTON_SHARE}/examples +PATTERN "*.rb" +PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ +GROUP_EXECUTE GROUP_READ +WORLD_EXECUTE WORLD_READ) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-proton git commit: PROTON-1347: Use a dedicated proton logger, not the root one; disable log output by default
Repository: qpid-proton Updated Branches: refs/heads/master 1b1f3f9ca -> 73aa2d7bd PROTON-1347: Use a dedicated proton logger, not the root one; disable log output by default Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/73aa2d7b Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/73aa2d7b Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/73aa2d7b Branch: refs/heads/master Commit: 73aa2d7bdf9f6332d08b7e190aadcdacbebf09ee Parents: 1b1f3f9 Author: Justin RossAuthored: Tue Aug 15 16:10:11 2017 -0700 Committer: Justin Ross Committed: Tue Aug 15 16:10:11 2017 -0700 -- proton-c/bindings/python/proton/__init__.py | 15 +-- proton-c/bindings/python/proton/handlers.py | 9 + proton-c/bindings/python/proton/reactor.py | 14 -- 3 files changed, 22 insertions(+), 16 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/73aa2d7b/proton-c/bindings/python/proton/__init__.py -- diff --git a/proton-c/bindings/python/proton/__init__.py b/proton-c/bindings/python/proton/__init__.py index dca600b..43f4067 100644 --- a/proton-c/bindings/python/proton/__init__.py +++ b/proton-c/bindings/python/proton/__init__.py @@ -35,7 +35,10 @@ from cproton import * from .wrapper import Wrapper from proton import _compat -import weakref, socket, sys, threading +import logging, weakref, socket, sys, threading + +log = logging.getLogger("proton") +log.addHandler(logging.NullHandler()) try: import uuid @@ -4064,17 +4067,17 @@ class WrappedHandlersChildSurrogate: delegate = self.delegate() if delegate: dispatch(delegate, method, event) - + class WrappedHandlersProperty(object): def __get__(self, obj, clazz): if obj is None: return None return self.surrogate(obj).handlers - + def __set__(self, obj, value): self.surrogate(obj).handlers = value - + def surrogate(self, obj): key = "_surrogate" objdict = obj.__dict__ @@ -4085,7 +4088,7 @@ class WrappedHandlersProperty(object): return surrogate class WrappedHandler(Wrapper): - + handlers = WrappedHandlersProperty() @classmethod @@ -4096,7 +4099,7 @@ class WrappedHandler(Wrapper): handler = cls(impl) handler.__dict__["on_error"] = on_error return handler - + def __init__(self, impl_or_constructor): Wrapper.__init__(self, impl_or_constructor) if list(self.__class__.__mro__).index(WrappedHandler) > 1: http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/73aa2d7b/proton-c/bindings/python/proton/handlers.py -- diff --git a/proton-c/bindings/python/proton/handlers.py b/proton-c/bindings/python/proton/handlers.py index 6d3cce5..cd646aa 100644 --- a/proton-c/bindings/python/proton/handlers.py +++ b/proton-c/bindings/python/proton/handlers.py @@ -23,6 +23,7 @@ from proton import Collector, Connection, Delivery, Described, Endpoint, Event, from proton import Message, Handler, ProtonException, Transport, TransportException, ConnectionException from select import select +log = logging.getLogger("proton") class OutgoingMessageHandler(Handler): """ @@ -231,9 +232,9 @@ class EndpointStateHandler(Handler): @classmethod def print_error(cls, endpoint, endpoint_type): if endpoint.remote_condition: -logging.error(endpoint.remote_condition.description or endpoint.remote_condition.name) +log.error(endpoint.remote_condition.description or endpoint.remote_condition.name) elif cls.is_local_open(endpoint) and cls.is_remote_closed(endpoint): -logging.error("%s closed by peer" % endpoint_type) +log.error("%s closed by peer" % endpoint_type) def on_link_remote_close(self, event): if event.link.remote_condition: @@ -403,9 +404,9 @@ class MessagingHandler(Handler, Acking): """ if event.transport.condition: if event.transport.condition.info: -logging.error("%s: %s" % (event.transport.condition.name, event.transport.condition.description, event.transport.condition.info)) +log.error("%s: %s: %s" % (event.transport.condition.name, event.transport.condition.description, event.transport.condition.info)) else: -logging.error("%s: %s" % (event.transport.condition.name, event.transport.condition.description)) +log.error("%s: %s" % (event.transport.condition.name, event.transport.condition.description)) if event.transport.condition.name in
qpid-proton git commit: PROTON-1506: Expose max frame size in the python binding; thanks to Gordon Sim for the patch
Repository: qpid-proton Updated Branches: refs/heads/master 4d25d88f5 -> 9eaca615c PROTON-1506: Expose max frame size in the python binding; thanks to Gordon Sim for the patch Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/9eaca615 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/9eaca615 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/9eaca615 Branch: refs/heads/master Commit: 9eaca615c5f5aa97d89d1b87471d81bff7237df0 Parents: 4d25d88 Author: Justin RossAuthored: Thu Aug 10 05:27:43 2017 -0700 Committer: Justin Ross Committed: Thu Aug 10 05:27:43 2017 -0700 -- proton-c/bindings/python/proton/reactor.py | 4 1 file changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9eaca615/proton-c/bindings/python/proton/reactor.py -- diff --git a/proton-c/bindings/python/proton/reactor.py b/proton-c/bindings/python/proton/reactor.py index 4beede0..7b7c701 100644 --- a/proton-c/bindings/python/proton/reactor.py +++ b/proton-c/bindings/python/proton/reactor.py @@ -543,6 +543,7 @@ class Connector(Handler): self.password = None self.virtual_host = None self.ssl_sni = None +self.max_frame_size = None def _connect(self, connection, reactor): assert(reactor is not None) @@ -575,6 +576,8 @@ class Connector(Handler): raise SSLUnavailable("amqps: SSL libraries not found") self.ssl = SSL(transport, self.ssl_domain) self.ssl.peer_hostname = self.ssl_sni or self.virtual_host or url.host +if self.max_frame_size: +transport.max_frame_size = self.max_frame_size def on_connection_local_open(self, event): self._connect(event.connection, event.reactor) @@ -735,6 +738,7 @@ class Container(Reactor): # only set hostname if virtual-host is a non-empty string conn.hostname = connector.virtual_host connector.ssl_sni = kwargs.get('sni') +connector.max_frame_size = kwargs.get('max_frame_size') conn._overrides = connector if url: connector.address = Urls([url]) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-proton git commit: PROTON-785: Add missing error code
Repository: qpid-proton Updated Branches: refs/heads/master bdac005a9 -> 4d25d88f5 PROTON-785: Add missing error code Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4d25d88f Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4d25d88f Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4d25d88f Branch: refs/heads/master Commit: 4d25d88f5c96165c7c6aa24c28d214ad599caff8 Parents: bdac005 Author: Justin RossAuthored: Wed Aug 9 12:09:19 2017 -0700 Committer: Justin Ross Committed: Wed Aug 9 12:09:19 2017 -0700 -- proton-c/src/core/error.c | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4d25d88f/proton-c/src/core/error.c -- diff --git a/proton-c/src/core/error.c b/proton-c/src/core/error.c index 70d36fa..e8e941f 100644 --- a/proton-c/src/core/error.c +++ b/proton-c/src/core/error.c @@ -130,6 +130,7 @@ const char *pn_code(int code) case PN_ARG_ERR: return "PN_ARG_ERR"; case PN_TIMEOUT: return "PN_TIMEOUT"; case PN_INTR: return "PN_INTR"; + case PN_INPROGRESS: return "PN_INPROGRESS"; case PN_OUT_OF_MEMORY: return "PN_OUT_OF_MEMORY"; default: return ""; } - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-proton git commit: PROTON-1533: Fix swig deprecation warnings
Repository: qpid-proton Updated Branches: refs/heads/master 1b8dae76d -> bdac005a9 PROTON-1533: Fix swig deprecation warnings Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/bdac005a Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/bdac005a Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/bdac005a Branch: refs/heads/master Commit: bdac005a999ffded075eafc61877515edf236b38 Parents: 1b8dae7 Author: Justin RossAuthored: Wed Aug 9 09:28:35 2017 -0700 Committer: Justin Ross Committed: Wed Aug 9 09:28:35 2017 -0700 -- proton-c/bindings/node/CMakeLists.txt | 2 +- proton-c/bindings/perl/CMakeLists.txt | 2 +- proton-c/bindings/php/CMakeLists.txt| 2 +- proton-c/bindings/python/CMakeLists.txt | 2 +- proton-c/bindings/ruby/CMakeLists.txt | 2 +- tools/cmake/Modules/FindSWIG.cmake | 43 6 files changed, 48 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bdac005a/proton-c/bindings/node/CMakeLists.txt -- diff --git a/proton-c/bindings/node/CMakeLists.txt b/proton-c/bindings/node/CMakeLists.txt index 3bea9f7..333cfd7 100644 --- a/proton-c/bindings/node/CMakeLists.txt +++ b/proton-c/bindings/node/CMakeLists.txt @@ -57,7 +57,7 @@ include_directories("${NODE_ROOT_DIR}/deps/uv/include") set(CMAKE_CXX_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_LIBRARY}) set(CMAKE_SWIG_FLAGS "-node;-I${CMAKE_CURRENT_SOURCE_DIR}/../../include") set_source_files_properties(javascript.i PROPERTIES CPLUSPLUS ON) -swig_add_module(cproton javascript javascript.i) +swig_add_library(cproton LANGUAGE javascript SOURCES javascript.i) set_target_properties (cproton PROPERTIES LINKER_LANGUAGE CXX) list(APPEND SWIG_MODULE_cproton_javascript_EXTRA_DEPS ${CMAKE_CURRENT_SOURCE_DIR}/../../proton-c/include/proton/cproton.i http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bdac005a/proton-c/bindings/perl/CMakeLists.txt -- diff --git a/proton-c/bindings/perl/CMakeLists.txt b/proton-c/bindings/perl/CMakeLists.txt index 744e812..28f07bf 100644 --- a/proton-c/bindings/perl/CMakeLists.txt +++ b/proton-c/bindings/perl/CMakeLists.txt @@ -53,7 +53,7 @@ list(APPEND SWIG_MODULE_cproton_perl_EXTRA_DEPS ${CMAKE_SOURCE_DIR}/proton-c/include/proton/cproton.i ${PROTON_HEADERS} ) -swig_add_module(cproton_perl perl perl.i) +swig_add_library(cproton_perl LANGUAGE perl SOURCES perl.i) set_target_properties(cproton_perl PROPERTIES PREFIX "") swig_link_libraries(cproton_perl ${BINDING_DEPS} ${PERL_LIBRARY}) http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bdac005a/proton-c/bindings/php/CMakeLists.txt -- diff --git a/proton-c/bindings/php/CMakeLists.txt b/proton-c/bindings/php/CMakeLists.txt index 558269d..696dc38 100644 --- a/proton-c/bindings/php/CMakeLists.txt +++ b/proton-c/bindings/php/CMakeLists.txt @@ -34,7 +34,7 @@ list(APPEND SWIG_MODULE_cproton_EXTRA_DEPS ${CMAKE_SOURCE_DIR}/proton-c/include/proton/cproton.i ${PROTON_HEADERS} ) -swig_add_module(cproton php ${CMAKE_CURRENT_SOURCE_DIR}/php.i) +swig_add_library(cproton LANGUAGE php SOURCES php.i) set_source_files_properties(${swig_generated_file_fullname} PROPERTIES COMPILE_FLAGS "${PHP_INCLUDES}") swig_link_libraries(cproton ${BINDING_DEPS}) # PHP modules must be linked with unresolved symbols as they are presumably satisfied only when loaded by php itself http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bdac005a/proton-c/bindings/python/CMakeLists.txt -- diff --git a/proton-c/bindings/python/CMakeLists.txt b/proton-c/bindings/python/CMakeLists.txt index f8c9241..05c2426 100644 --- a/proton-c/bindings/python/CMakeLists.txt +++ b/proton-c/bindings/python/CMakeLists.txt @@ -40,7 +40,7 @@ list(APPEND SWIG_MODULE_cproton_EXTRA_DEPS ${PROTON_HEADERS} ) -swig_add_module(cproton python cproton.i) +swig_add_library(cproton LANGUAGE python SOURCES cproton.i) swig_link_libraries(cproton ${BINDING_DEPS} ${PYTHON_LIBRARIES}) set_target_properties(${SWIG_MODULE_cproton_REAL_NAME} PROPERTIES http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bdac005a/proton-c/bindings/ruby/CMakeLists.txt -- diff --git a/proton-c/bindings/ruby/CMakeLists.txt b/proton-c/bindings/ruby/CMakeLists.txt index 05c2a72..c14e4f4 100644 --- a/proton-c/bindings/ruby/CMakeLists.txt +++ b/proton-c/bindings/ruby/CMakeLists.txt @@ -26,7 +26,7 @@ list(APPEND
qpid-proton git commit: PROTON-1526: Ensure the module .so file has no prefix; remove version-based rename
Repository: qpid-proton Updated Branches: refs/heads/master fb439633e -> 1b8dae76d PROTON-1526: Ensure the module .so file has no prefix; remove version-based rename Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1b8dae76 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1b8dae76 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1b8dae76 Branch: refs/heads/master Commit: 1b8dae76d36167b9f3e0748968d9b6ee1da3bc20 Parents: fb43963 Author: Justin RossAuthored: Tue Aug 8 13:58:38 2017 -0700 Committer: Justin Ross Committed: Tue Aug 8 13:58:38 2017 -0700 -- proton-c/bindings/perl/CMakeLists.txt | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1b8dae76/proton-c/bindings/perl/CMakeLists.txt -- diff --git a/proton-c/bindings/perl/CMakeLists.txt b/proton-c/bindings/perl/CMakeLists.txt index 1356cce..744e812 100644 --- a/proton-c/bindings/perl/CMakeLists.txt +++ b/proton-c/bindings/perl/CMakeLists.txt @@ -54,20 +54,12 @@ list(APPEND SWIG_MODULE_cproton_perl_EXTRA_DEPS ${PROTON_HEADERS} ) swig_add_module(cproton_perl perl perl.i) +set_target_properties(cproton_perl PROPERTIES PREFIX "") swig_link_libraries(cproton_perl ${BINDING_DEPS} ${PERL_LIBRARY}) -if ((${CMAKE_MAJOR_VERSION} EQUAL 2) AND (${CMAKE_MINOR_VERSION} LESS 8)) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton_perl.so +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton_perl.so DESTINATION ${PERL_VENDORARCH_DIR}/auto/cproton_perl -COMPONENT Perl -) -else() - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcproton_perl.so -RENAME cproton_perl.so -DESTINATION ${PERL_VENDORARCH_DIR}/auto/cproton_perl -COMPONENT Perl -) -endif ((${CMAKE_MAJOR_VERSION} EQUAL 2) AND (${CMAKE_MINOR_VERSION} LESS 8)) +COMPONENT Perl) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton_perl.pm DESTINATION ${PERL_VENDORARCH_DIR} - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-cpp git commit: QPID-7861: Provide systemd scripts for Fedora. Thanks to Irina Boverman for the patch.
Repository: qpid-cpp Updated Branches: refs/heads/master b371bd86d -> ecfbc6a27 QPID-7861: Provide systemd scripts for Fedora. Thanks to Irina Boverman for the patch. Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/ecfbc6a2 Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/ecfbc6a2 Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/ecfbc6a2 Branch: refs/heads/master Commit: ecfbc6a27e065d35da4e6c312278885aa1ec38e9 Parents: b371bd8 Author: Justin RossAuthored: Fri Jul 14 13:06:13 2017 -0400 Committer: Justin Ross Committed: Fri Jul 14 13:06:46 2017 -0400 -- etc/fedora/qpidd-primary.service | 15 +++ etc/fedora/qpidd.service | 14 ++ 2 files changed, 29 insertions(+) -- http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/ecfbc6a2/etc/fedora/qpidd-primary.service -- diff --git a/etc/fedora/qpidd-primary.service b/etc/fedora/qpidd-primary.service new file mode 100644 index 000..f15168c --- /dev/null +++ b/etc/fedora/qpidd-primary.service @@ -0,0 +1,15 @@ +[Unit] +Description=An AMQP message broker cluster primary daemon. +Documentation=man:qpidd(1) http://qpid.apache.org/ +Requires=network.target +After=network.target + +[Service] +User=qpidd +Group=qpidd +Type=simple +EnvironmentFile=/etc/sysconfig/qpidd +ExecStart=/usr/sbin/qpid-ha -b localhost:$QPID_PORT promote + +[Install] +WantedBy=multi-user.target http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/ecfbc6a2/etc/fedora/qpidd.service -- diff --git a/etc/fedora/qpidd.service b/etc/fedora/qpidd.service new file mode 100644 index 000..10a99d1 --- /dev/null +++ b/etc/fedora/qpidd.service @@ -0,0 +1,14 @@ +[Unit] +Description=An AMQP message broker daemon. +Documentation=man:qpidd(1) http://qpid.apache.org/ +Requires=network.target +After=network.target + +[Service] +User=qpidd +Group=qpidd +Type=simple +ExecStart=/usr/sbin/qpidd --config /etc/qpid/qpidd.conf + +[Install] +WantedBy=multi-user.target - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[2/3] qpid-site git commit: QPID-7756: Give each CVE its own page; link to CVEs from component pages
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/891f697b/content/cves/CVE-2016-4467.html -- diff --git a/content/cves/CVE-2016-4467.html b/content/cves/CVE-2016-4467.html new file mode 100644 index 000..48a6dc4 --- /dev/null +++ b/content/cves/CVE-2016-4467.html @@ -0,0 +1,207 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +CVE-2016-4467 - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeCVE-2016-4467 + + + CVE-2016-4467 + +Severity + +Medium + +Affected components + +Qpid Proton + +Affected versions + +0.8 through 0.13.0 inclusive + +Fixed versions + +0.13.1 and later + +Description + +Failure to verify that the server host name matches the certificate +host name on Windows. + +Messaging applications using the Proton C library to provide SSL/TLS +authentication on Windows can falsely authenticate a server whose name +does not match the server name in the connection specifier. Proton C +bindings are affected to a greater or lesser degree depending on how +they use the underlying Proton C library. + +In Proton C, this can only happen if PN_SSL_VERIFY_PEER_NAME has been +specified as the verification mode and pn_ssl_set_peer_hostname() has +not been called at all or has been called with a NULL value for a +particular pn_ssl_t object. + +In the Proton C++ binding, this will always happen unless the +application has separately specified a virtual_host name for an +SSL/TLS connection. + +In the Proton Python and Ruby bindings, this will only happen if the +application has separately specified a NULL virtual_host name for an +SSL/TLS connection after creating the connection but before the +authentication step. + +This issue only occurs on Windows versions of Proton that use the +default SChannel-based security layer. + +In any of the preceding cases, it is possible for a man-in-the-middle +attacker to spoof an SSL/TLS server if they had a certificate that was +valid for any of the application's Certificate Authorities. + +Resolution + +Proton release 0.13.1 resolves this issue in the SChannel-based +security layer by obtaining a default non-NULL peer hostname from the +associated connection address when initialized and by always failing +hostname verification if PN_SSL_VERIFY_PEER_NAME has been specified +along with a NULL peer hostname. This resolution matches the +associated behaviour of the OpenSSL-based security layer. + +References + +https://issues.apache.org/jira/browse/PROTON-1228;>PROTON-1228 and +https://issues.apache.org/jira/browse/PROTON-1233;>PROTON-1233 + + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + +
[3/3] qpid-site git commit: QPID-7756: Give each CVE its own page; link to CVEs from component pages
QPID-7756: Give each CVE its own page; link to CVEs from component pages Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/891f697b Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/891f697b Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/891f697b Branch: refs/heads/asf-site Commit: 891f697bdb58236cdbf79f7cee72c7bcb7dd925c Parents: d03960c Author: Justin RossAuthored: Mon May 15 15:28:34 2017 +0200 Committer: Justin Ross Committed: Mon May 15 15:28:34 2017 +0200 -- content/components/cpp-broker/index.html | 1 + content/components/cpp-broker/security.html | 208 + content/components/java-broker/index.html| 1 + content/components/java-broker/security.html | 158 content/components/jms/amqp-0-x.html | 6 + content/components/jms/index.html| 1 + content/components/jms/security.html | 89 + content/cves/CVE-2014-3629.html | 197 content/cves/CVE-2015-0203.html | 208 + content/cves/CVE-2015-0223.html | 187 +++ content/cves/CVE-2015-0224.html | 196 content/cves/CVE-2016-2166.html | 211 ++ content/cves/CVE-2016-3094.html | 199 content/cves/CVE-2016-4432.html | 196 content/cves/CVE-2016-4467.html | 207 + content/cves/CVE-2016-4974.html | 196 content/cves/CVE-2016-8741.html | 191 content/cves/template.html | 167 + content/proton/index.html| 1 + content/proton/security.html | 141 +++ content/security.html| 9 +- input/components/cpp-broker/index.md | 1 + input/components/cpp-broker/security.md | 179 +- input/components/java-broker/index.md| 1 + input/components/java-broker/security.md | 135 +- input/components/jms/amqp-0-x.md | 4 + input/components/jms/index.md| 1 + input/components/jms/security-0-x.md | 72 input/components/jms/security.md | 57 +- input/cves/CVE-2014-3629.md | 53 ++ input/cves/CVE-2015-0203.md | 64 +++ input/cves/CVE-2015-0223.md | 43 + input/cves/CVE-2015-0224.md | 52 ++ input/cves/CVE-2016-2166.md | 66 +++ input/cves/CVE-2016-3094.md | 55 ++ input/cves/CVE-2016-4432.md | 52 ++ input/cves/CVE-2016-4467.md | 63 +++ input/cves/CVE-2016-4974.md | 52 ++ input/cves/CVE-2016-8741.md | 47 + input/cves/template.md | 23 +++ input/proton/index.md| 1 + input/proton/security.md | 122 + input/security.md| 9 +- 43 files changed, 2929 insertions(+), 993 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/891f697b/content/components/cpp-broker/index.html -- diff --git a/content/components/cpp-broker/index.html b/content/components/cpp-broker/index.html index eba624b..6f7513b 100644 --- a/content/components/cpp-broker/index.html +++ b/content/components/cpp-broker/index.html @@ -197,6 +197,7 @@ that stores, routes, and forwards messages using AMQP. Resources +Security https://cwiki.apache.org/confluence/display/qpid/qpid+extensions+to+amqp;>Qpid extensions to AMQP http://git-wip-us.apache.org/repos/asf/qpid-site/blob/891f697b/content/components/cpp-broker/security.html -- diff --git a/content/components/cpp-broker/security.html b/content/components/cpp-broker/security.html index 6b73d3d..a9071f0 100644 --- a/content/components/cpp-broker/security.html +++ b/content/components/cpp-broker/security.html @@ -116,176 +116,50 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> Security - - -C++ Broker - - - - CVE-IDSeverityAffectedVersionsFixedinVersionsDescription - - - - - CVE-2015-0224 - Moderate - 0.30 and earlier - 0.32 and later - qpidd can be crashed by unauthenticated user -show more - - Description: In CVE-2015-0203 it was announced that -certain
[1/3] qpid-site git commit: QPID-7756: Give each CVE its own page; link to CVEs from component pages
Repository: qpid-site Updated Branches: refs/heads/asf-site d03960c7e -> 891f697bd http://git-wip-us.apache.org/repos/asf/qpid-site/blob/891f697b/input/proton/security.md -- diff --git a/input/proton/security.md b/input/proton/security.md index f708f56..e793119 100644 --- a/input/proton/security.md +++ b/input/proton/security.md @@ -19,120 +19,10 @@ # Security - +| CVE-ID | Severity | Affected versions | Fixed versions | Summary | +| -- | | - | -- | --- | +| [CVE-2016-4467]({{site_url}}/cves/CVE-2016-4467.html) | Medium | 0.8 through 0.13.0 inclusive | 0.13.1 and later | Failure to verify that the server host name matches the certificate host name on Windows | +| [CVE-2016-2166]({{site_url}}/cves/CVE-2016-2166.html) | Moderate | 0.9 through 0.12.0 inclusive | 0.12.1 and later | Python bindings silently ignore request for amqps if SSL/TLS not supported | -## Proton - - - - - CVE-IDSeverityAffectedVersionsFixedinVersionsDescription - - - - - CVE-2016-4467 - Medium - 0.8 through 0.13.0 (inclusive) - 0.13.1 and later - Failure to verify that the server host name matches the certificate host name on Windows -show more - - - Messaging applications using the Proton C library to - provide SSL/TLS authentication on Windows can falsely - authenticate a server whose name does not match the server - name in the connection specifier. Proton C bindings are - affected to a greater or lesser degree depending on how - they use the underlying Proton C library. - - In Proton C, this can only happen if - PN_SSL_VERIFY_PEER_NAME has been specified as the - verification mode and pn_ssl_set_peer_hostname() has not - been called at all or has been called with a NULL value for - a particular pn_ssl_t object. - - In the Proton C++ binding, this will always happen unless - the application has separately specified a virtual_host name - for an SSL/TLS connection. - - In the Proton Python and Ruby bindings, this will only - happen if the application has separately specified a NULL - virtual_host name for an SSL/TLS connection after creating - the connection but before the authentication step. - - This issue only occurs on Windows versions of Proton that - use the default SChannel-based security layer. - - In any of the preceding cases, it is possible for a - man-in-the-middle attacker to spoof an SSL/TLS server if - they had a certificate that was valid for any of the - application's Certificate Authorities. - - Resolution: Proton release 0.13.1 resolves this issue in - the SChannel-based security layer by obtaining a default - non-NULL peer hostname from the associated connection - address when initialized and by always failing hostname - verification if PN_SSL_VERIFY_PEER_NAME has been specified - along with a NULL peer hostname. This resolution matches - the associated behaviour of the OpenSSL-based security - layer. - - References: https://issues.apache.org/jira/browse/PROTON-1228;>PROTON-1228 - and https://issues.apache.org/jira/browse/PROTON-1233;>PROTON-1233. - - - - - CVE-2016-2166 - Moderate - 0.9 through 0.12.0 (inclusive) - 0.12.1 and later - -Python bindings silently ignore request for amqps if SSL/TLS not supported. show more - - Versions Affected: Apache Qpid Proton python API starting - at 0.9 up to and including version 0.12.0. - Description: Messaging applications using the Proton - Python API to provision an SSL/TLS encrypted TCP connection - may actually instantiate a non-encrypted connection without - notice if SSL support is unavailable. This will result in - all messages being sent in the clear without the knowledge - of the user. This issue affects those applications - that use the Proton Reactor Python API to create SSL/TLS - connections. Specifically the proton.reactor.Connector, - proton.reactor.Container, and - proton.utils.BlockingConnection classes are vulnerable. - These classes can create an unencrypted connections if the - "amqps://" URL prefix is used. The issue only occurs - if the installed Proton libraries do not support SSL. This - would be the case if the libraries were built without SSL - support or the necessary SSL libraries are not present on - the system (e.g. OpenSSL in the case of *nix). To - check whether or not the Python API provides SSL support, -
[35/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhost-Nodes.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhost-Nodes.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhost-Nodes.html new file mode 100644 index 000..21a96d5 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhost-Nodes.html @@ -0,0 +1,150 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +4.3.Virtualhost Nodes - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java4.3.Virtualhost Nodes + + + 4.3.Virtualhost NodesPrevChapter4.ConceptsNext4.3.Virtualhost NodesA virtualhost node is a container for the virtualhost. It has exactly +one virtualhost.A virtualhost node is backed by storage. This storage is used to record +the durable entities that exist beneath the virtualhost node (the virtualhost, queues, exchanges +etc).When HA is in use, it is the virtualhost nodes of many Brokers that come together to form +the group. The virtualhost nodes together elect a master. When the high availability feature is +in use, the virtualhost node has remote replications nodes. There is a remote replication node corresponding to each +remote virtualhost node that form part of the group.PrevUpNext4.2.BrokerHome4.4.Remote Replication Nodes + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhosts.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhosts.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhosts.html new file mode 100644 index 000..49b4618 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Virtualhosts.html @@ -0,0 +1,158 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +4.5.Virtualhosts - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> +
[27/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-External-JDBC-Driver.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-External-JDBC-Driver.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-External-JDBC-Driver.html new file mode 100644 index 000..da21155 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-External-JDBC-Driver.html @@ -0,0 +1,148 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +E.2.Installing External JDBC Driver - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for JavaE.2.Installing External JDBC Driver + + + E.2.Installing External JDBC DriverPrevAppendixE.MiscellaneousNextE.2.Installing External JDBC DriverIn order to use a JDBC Virtualhost Node or a JDBC Virtualhost, you must make the + Database's JDBC 4.0 compatible drivers available on the Broker's classpath. To do this copy + the driver's JAR file into the ${QPID_HOME}/lib folder.Unix: +cp driver.jar qpid-broker-7.0.0-SNAPSHOT/libWindows: +copy driver.jar qpid-broker-7.0.0-SNAPSHOT\libPrevUpNextAppendixE.MiscellaneousHomeE.3.Installing Oracle BDB JE + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html new file mode 100644 index 000..29b6102 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html @@ -0,0 +1,150 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +E.3.Installing Oracle BDB JE - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + +
[39/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html b/content/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html new file mode 100644 index 000..8484e0c --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html @@ -0,0 +1,151 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +Apache Qpid Broker for Java - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for JavaApache Qpid Broker for Java + + + Apache Qpid Broker for JavaNextApache Qpid Broker for JavaTable of Contents1. Introduction2. Installation2.1. Introduction2.2. Prerequisites2.2.1. Java Platform2.2.2. Disk2.2.3. Memory2.2.4. Operating System Account2.3. Download2.3.1. Broker Release2.4. Installation on Windows2.4.1. Setting the working directory2.5. Installation on UNIX platforms2.5.1. Setting the working directory2.6. Optional Dependencies3. Getting Started3.1. Introduction3.2. Starting/Stopping the broker on Windows3.3. Starting/Stopping the broker on Unix3.4. Log file3.5. Using the command line4. Concepts4.1. Overview4.2. Broker4.3. Virtualhost Nodes4.4. Remote Replication Nodes4.5. Virtualhosts4.6. Exchanges4.6.1. Predeclared Exchanges4.6.2. Exchange Types4.6.3. Binding Arguments4.6.4. Unrouteable Messages4.7. Queues4.7.1. Types4.7.2. Queue Declare Arguments4.7.3. Messaging Grouping4.7.4. Using low pre-fetch with special queue types4.7.5. Forcing all consumers to be non-destructive4.7.6. Holding messages on a Queue4.7.7. Controlling Queue Size4.8. Ports4.9. Authentication Providers4.10. Other Services4.10.1. Access Control Providers4.10.2. Group Providers4.10.3. Keystores4.10.4. Truststores4.10.5. Loggers5. Initial Configuration5.1. Introduction5.2. Configuration Store Location5.3. 'Initial Configuration' Location< dt>5.4. Creating an 'Initial Configuration' JSON File5.5. Configuration Store Type5.6. Customising Configuration using Configuration Properties5.7. Example of JSON 'Initial Configuration'6. Management Channels6.1. HTTP Management6.1.1. Introduction6.1.2. Default Configuration6.2. Web Management Console6.2.1. Accessing the Console6.2.2. Orientation6.2.3. Managing Entities6.3 . REST API6.3.1. Introduction6.3.2. REST API documentation6.3.3. Authentication6.3.4. Configured Object creation6.3.5. Configured Object update6.3.6. Configured Object deletion6.3.7. Retrieving Configured Object details6.3.8. Configured Object operations6.3.9. HTTP status codes returned by REST interfaces6.3.10. Examples of REST requests with curl6.3.11. Query API6.3.12. Cross Origin Resource Sharing (CORS)6.4. AMQP Intrinstic Management6.5. QMF7. Managing Entities7.1. General Description7.2. Entity/Management Channel Support Matrix7.3. Brokerhref="Java-Broker-Management-Managing-Broker.html#Java-Broker-Management-Managing-Broker-Attributes">7.3.1. > Attributeshref="Java-Broker-Management-Managing-Broker.html#Java-Broker-Management-Managing-Broker-Context">7.3.2. > Contexthref="Java-Broker-Management-Managing-Broker.html#Java-Broker-Management-Managing-Broker-Children">7.3.3. >
[31/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Installation.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Installation.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Installation.html new file mode 100644 index 000..95f0b7e --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Installation.html @@ -0,0 +1,145 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +Chapter2.Installation - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for JavaChapter2.Installation + + + Chapter2.InstallationPrevNextChapter2.InstallationTable of Contents2.1. Introduction2.2. Prerequisites2.2.1. Java Platform2.2.2. Disk2.2.3. Memory2.2.4. Operating System Account2.3. Download2.3.1. Broker Release2.4. Inst allation on Windows2.4.1. Setting the working directory2.5. Installation on UNIX platforms2.5.1. Setting the working directory2.6. Optional Dependencies2.1.IntroductionThis document describes how to install the Apache Qpid Broker for Java on both Windows and UNIX + platforms.PrevNextChapter1.IntroductionHome2.2.Prerequisites + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Introduction.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Introduction.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Introduction.html new file mode 100644 index 000..1d86f34 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Introduction.html @@ -0,0 +1,150 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +Chapter1.Introduction - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components +
[26/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Flow-To-Disk.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Flow-To-Disk.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Flow-To-Disk.html new file mode 100644 index 000..b88e97f --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Flow-To-Disk.html @@ -0,0 +1,159 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +9.6.Flow to Disk - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java9.6.Flow to Disk + + + 9.6.Flow to DiskPrevChapter9.RuntimeNext9.6.Flow to DiskFlow to disk limits the amount of direct and heap memory +that can be occupied by messages. Once this +limit is reached any new transient messages and all existing transient messages will be +transferred to disk. Newly arriving transient messages will continue to go to the disk until the +cumulative size of all messages falls below the limit once again.By default the Broker makes 40% of the max direct available memory for messages. This memory is +divided between all the queues across all virtual hosts defined on the Broker with a percentage +calculated according to their current queue size. These calculations are refreshed periodically +by the housekeeping cycle.For example if there are two queues, one containing 75MB and the second 100MB messages +respectively and the Broker has 1GB direct memory with the default of 40% available for messages. +The first queue will have a target size of 170MB and the second 230MB. Once 400MB is taken by +messages, messages will begin to flow to disk. New messages will cease to flow to disk when +their cumulative size falls beneath 400MB.Flow to disk is configured by Broker context variable + broker.flowToDiskThreshold. It is expressed as a size in bytes and defaults +to 40% of the JVM maximum heap size.Log message BRK-1014 is written when the feature activates. Once the total space of all messages +decreases below the threshold, the message BRK-1015 is written +to show that the feature is no longer active.PrevUpNext9.5.Closing client connections on unroutable mandatory messagesHome9.7.Consumers + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + +
[37/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Queue-Declare-Arguments.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Queue-Declare-Arguments.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Queue-Declare-Arguments.html new file mode 100644 index 000..2d52c49 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Queue-Declare-Arguments.html @@ -0,0 +1,198 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +AppendixF.Queue Declaration Arguments supported by the Broker - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for JavaAppendixF.Queue Declaration Arguments supported by the Broker + + + AppendixF.Queue Declaration Arguments supported by the BrokerPrevAppendixF.Queue Declaration Arguments supported by the Broker +Qpid Broker for Java +supports a number of custom arguments which can be specified as part of queue.declare +commands for AMQP 0-x protocols. This section provides an overview of the supported arguments. +TableF.1.Queue declare argumentsArgument NameDescription +Declaration of overflow policy. +See +Section4.7.7, Controlling Queue Size +for more details. + + +qpid.policy_type + +Defines queue overflow policy. + +qpid.max_count + +Defines maximum number of messages. + + +qpid.max_size + +Defines maximum number of bytes. + + +The Overflow Policy and the limits can be specified using +Address +based syntax as in the example below: + +my-queue; {create: always, node: {x-declare: {arguments:{'qpid.max_count': 1, 'qpid.max_size': 102400, 'qpid.policy_type: 'ring' + + + +Alternative declaration of Producer Flow Control overflow policy. +See +Section4.7.7, Controlling Queue Size +for more details. + + +x-qpid-capacity + +Defines maximum number of bytes. + + +x-qpid-flow-resume-capacity + +Defines flow resume threshold in bytes + +The Producer Flow Control can be specified using +Address based syntax as in the example below: + +my-queue; {create: always, node: {x-declare: {arguments:{'x-qpid-capacity': 102400, 'x-qpid-flow-resume-capacity': 8192000 + + +PrevE.3.Installing Oracle BDB JEHome + + + + +
[05/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/css/style.css -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/css/style.css b/input/releases/qpid-broker-j-master/java-broker/book/css/style.css new file mode 100644 index 000..8179bf4 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/css/style.css @@ -0,0 +1,131 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ +ul { +list-style-type:square; +} + +th { +font-weight: bold; +} + +.navfooter td { +font-size:10pt; +} + +.navheader td { +font-size:10pt; +} + +body { +margin:0; +background:#FF; +font-family:"Verdana", sans-serif; +font-size:10pt; +} + +.container { +width:950px; +margin:0 auto; +} + +body a { +color:#00; +} + + +div.book { +margin-left:10pt; +margin-right:10pt; +} + +div.preface { +margin-left:10pt; +margin-right:10pt; +} + +div.chapter { +margin-left:10pt; +margin-right:10pt; +} + +div.section { +margin-left:10pt; +margin-right:10pt; +} + +div.titlepage { +margin-left:-10pt; +margin-right:-10pt; +} + +.calloutlist td { +font-size:10pt; +} + +.table-contents table { +border-spacing: 0px; +} + +.table-contents td { +font-size:10pt; +padding-left:6px; +padding-right:6px; +} + +.chapter h2.title { +font-size:20pt; +color:#0c3b82; +} + +.chapter .section h2.title { +font-size:18pt; +color:#0c3b82; +} + +.section h2.title { +font-size:16pt; +color:#0c3b82; +} + +.section h3.title { +font-size:14pt; +color:#0c3b82; +} + +.section h4.title { +font-size:12pt; +color:#0c3b82; +} + +.section h5.title { +font-size:12pt; +color:#0c3b82; +} + +.section h6.title { +font-size:12pt; +color:#0c3b82; +} + +.toc a { +font-size:9pt; +} + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-MessageFlow.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-MessageFlow.png b/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-MessageFlow.png new file mode 100644 index 000..b687dfe Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-MessageFlow.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-Model.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-Model.png b/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-Model.png new file mode 100644 index 000..a254565 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-Model.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-PortAuthFlow.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-PortAuthFlow.png b/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-PortAuthFlow.png new file mode 100644 index 000..4df2fa1 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/Broker-PortAuthFlow.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Direct.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Direct.png b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Direct.png new file mode 100644 index 000..184fb80 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Direct.png differ
[20/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-dispatch-0.3/qpid-dispatch-book.html -- diff --git a/content/releases/qpid-dispatch-0.3/qpid-dispatch-book.html b/content/releases/qpid-dispatch-0.3/qpid-dispatch-book.html deleted file mode 100644 index 8b72a18..000 --- a/content/releases/qpid-dispatch-0.3/qpid-dispatch-book.html +++ /dev/null @@ -1,1534 +0,0 @@ - - -http://www.w3.org/1999/xhtml; xml:lang="en"> - -Qpid Dispatch Router Book - Apache Qpid - - - - -var _deferredFunctions = []; - - - - - - - - - - - - Apache Qpid - Download - Documentation - Discussion - Issues - Source Code - More Resources - - - - - - Project - - -Overview -Qpid Proton -Contributors -Get involved - - - - - Software - - -Download -Documentation -Components -Releases - - - - - Resources - - -Discussion -Issues -Source code -More resources - - - - - More - - -AMQP -Developer central -https://cwiki.apache.org/confluence/display/qpid/;>Wiki - - - - - -http://www.google.com/search; method="get"> - - - Search - More ways to search - - - - -Qpid Dispatch 0.3Qpid Dispatch Router Book - - - - - -Qpid Dispatch Router Book - - - -1 Introduction -1.1 Overview -1.2 Benefits -1.3 Features - -2 Using Qpid Dispatch -2.1 Configuration -2.2 Client Compatibility -2.3 Tools -2.3.1 qdstat -2.3.2 qdmanage - -2.4 Features and Examples -2.4.1 Standalone and Interior Modes -2.4.2 Mobile Subscribers -2.4.3 Dynamic Reply-To - -2.5 Known Issues and Limitations - -3 Addressing -3.1 Routing patterns -3.2 Routing mechanisms -3.2.1 Message routing -3.2.2 Link routing - - -4 AMQP Mapping -4.1 Message Annotations -4.2 Source/Target Capabilities -4.3 Addresses and Address Formats -4.3.1 Address Patterns -4.3.2 Supported Addresses - -4.4 Implementation of the AMQP Management Specification - -5 The qdrouter management schema -5.1 Annotations -5.1.1 addrPort -5.1.2 saslMechanisms -5.1.3 connectionRole -5.1.4 sslProfile - -5.2 Base Entity Type -5.2.1 entity - -5.3 Configuration Entities -5.3.1 configurationEntity -5.3.2 container -5.3.3 router -5.3.4 listener -5.3.5 connector -5.3.6 log -5.3.7 fixedAddress -5.3.8 waypoint - -5.4 Operational Entities -5.4.1 operationalEntity -5.4.2 router.link -5.4.3 router.address -5.4.4 router.node -5.4.5 connection -5.4.6 allocator - - -6 Manual page qdrouterd.8 -6.1 Name -6.2 Synopsis -6.3 Description -6.4 Files -6.5 See Also - -7 Manual page qdstat.8 -7.1 Name -7.2 Synopsis -7.3 Description -7.3.1 Connection Options - -7.4 See Also - -8 Manual page qdmanage.8 -8.1 Name -8.2 Synopsis -8.3 Description -8.4 Operations -8.5 Options -8.5.1 Connection Options - -8.6 Files -8.7 Examples -8.8 See Also - -9 Manual page qdrouterd.conf.5 -9.1 Name -9.2 Description -9.3 Annotation Sections -9.3.1 Addrport -9.3.2 Saslmechanisms -9.3.3 Connectionrole -9.3.4 Sslprofile - -9.4 Configuration Sections -9.4.1 Container -9.4.2 Router -9.4.3 Listener -9.4.4 Connector -9.4.5 Log -9.4.6 Fixedaddress -9.4.7 Waypoint - - - - - - -1 Introduction -1.1 Overview -The Dispatch router is an AMQP message message router that provides advanced interconnect capabilities. It allows flexible routing of messages between any AMQP-enabled endpoints, whether they be clients, servers, brokers or any other entity that can send or receive standard AMQP messages. -A messaging client can make a single AMQP connection into a messaging bus built of Dispatch routers and, over that connection, exchange messages with one or more message brokers, and at the same time exchange messages directly with other endpoints without involving a broker at all. -The router is an intermediary for messages but it is not a broker. It does not take responsibility for messages. It will, however, propagate settlement and disposition across a network such that delivery guarantees are met. In other words: the router network will deliver the message, possibly via several intermediate routers, and it will route the acknowledgement of that message by the ultimate reciever back across the same path. This means that responsibility for the message is transfered from the original sender to the ultimate receiver as if they were directly connected. However this is done via a flexible network that allows highly
[07/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html.in new file mode 100644 index 000..cf24d6a --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous-Installing-Oracle-BDB-JE.html.in @@ -0,0 +1,7 @@ +E.3.Installing Oracle BDB JEPrevAppendixE.MiscellaneousNextE.3.Installing Oracle BDB JE The Oracle BDB JE is not distributed with Apache Qpid owing to license considerations.. If you wish to use a BDB Virtualhost Node, BDB Virtualhost, or BDB HA Virtualhost Node you + must make the BDB JE's JAR available on the Broker's classpath. Download the Oracle BDB JE 5.0.104 release http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html?ssSourceSiteId=ocomen; target="_top">from the Oracle website. + The download has a name in the form je-5.0.104.tar.gz. It is + recommended that you confirm the integrity of the download by verifying the MD5. Copy the je-5.0.104.jar from within the release into +${QPID_HOME}/lib folder.Unix: +cp je-5.0.104.jar qpid-broker-7.0.0-SNAPSHOT/libWindows: +copy je-5.0.104.jar qpid-broker-7.0.0-SNAPSHOT\libPrevUpNextE.2.Installing External JDBC DriverHomeAppendixF.Queue Declaration Arguments supported by the Broker \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous.html.in new file mode 100644 index 000..36a7d3f --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Miscellaneous.html.in @@ -0,0 +1,9 @@ +AppendixE.MiscellaneousPrevNextAppendixE.MiscellaneousTable of ContentsE.1. JVM Installation verificationE.1.1. Verify JVM on WindowsE.1.2. Verify JVM on UnixE.2. Installing External JDBC DriverE.3. Installing Oracle BDB JEE.1.JVM Installation verificationE.1.1.Verify JVM on Windows Firstly confirm that the JAVA_HOME environment variable is set correctly by typing the +following at the command prompt: echo %JAVA_HOME% If JAVA_HOME is set you will see something similar to the following: c:"\PROGRA~1"\Java\jdk1.8.0_121\ + Then confirm that a Java installation (1.8 or higher) is available: java -version If java is available on the path, output similar to the following will be seen: java version "1.8.0_121-b13" +Java(TM) SE Runtime Environment (build 1.8.0_121-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)E.1.2.Verify JVM on Unix Firstly confirm that the JAVA_HOME environment variable is set correctly by typing the +following at the command prompt: echo $JAVA_HOME If JAVA_HOME is set you will see something similar to the following: /usr/java/jdk1.8.0_121 + Then confirm that a Java installation (1.8 or higher) is available: java -version If java is available on the path, output similar to the following will be seen: java version "1.8.0_121-b13" +Java(TM) SE Runtime Environment (build 1.8.0_121-b13) +Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)PrevNextAppendixD.Queue AlertsHomeE.2.Installing External JDBC Driver \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Background-Recovery.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Background-Recovery.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Background-Recovery.html.in new file mode 100644 index 000..9c4e2d4 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime-Background-Recovery.html.in @@ -0,0 +1,14 @@ +9.8.Background RecoveryPrevChapter9.RuntimeNext9.8.Background RecoveryOn startup of the Broker, or restart of a Virtualhost, the Broker restores all durable +queues and their messages from disk. In the Broker's default mode the Virtualhosts do not become +active until this recovery process completes. If queues have a large number of entries, this may +take considerable time. During this time no messaging can be performed.The Broker has a background recovery feature allows the
[22/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg new file mode 100755 index 000..568761a --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg @@ -0,0 +1,23 @@ + + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> +http://www.w3.org/2000/svg; xmlns:xl="http://www.w3.org/1999/xlink; version="1.1" viewBox="100 43 404 422" width="404pt" height="422pt">http://purl.org/dc/elements/1.1/;>2013-10-01 22:37ZCanv as 4Layer 1ProducerQpid Brokeramq.topicshippingspeed = 10storm_alertspeed 7 and speed 10area in ('Forties', 'Cromarty')area in ('Rockall', 'Malin')argumentsshippinggale_alertsub2shippingsub1shippingqueuebinding_keysub1sub2gale_alert{area = 'Rockall',speed = 5,visibility = 'Fair'}{area = 'Malin',speed = 6,visibility = 'Fair'}{area = 'Forties',speed = 7,visibility = 'Poor'}{area = 'Cromarty',speed = 8,visibility = 'Poor'}{area = 'Forth',speed = 6,visibility = 'Fog'}storm_alertrouting_key=ship ping http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png new file mode 100755 index 000..f631d73 Binary files /dev/null and b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg new file mode 100755 index 000..4240be5 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg @@ -0,0 +1,23 @@ + + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> +http://www.w3.org/2000/svg; xmlns:xl="http://www.w3.org/1999/xlink; version="1.1" viewBox="123 62 277 368" width="277pt" height="368pt">http://purl.org/dc/elements/1.1/;>2013-10-01 22:37ZCanv as 6Layer 1ProducerQpid Brokeramq.topicweathersub3sub2weathersub1weatherqueuebinding_keysub1sub2sub3 routing_key=weather http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png b/content/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png new file mode 100755 index 000..29d5494 Binary files /dev/null and b/content/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png b/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png new file mode 100755 index 000..4976609 Binary files /dev/null and b/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png b/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png new file mode 100755 index 000..bd44226 Binary files /dev/null and b/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-3.png -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-3.png b/content/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-3.png new file
[13/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html.in new file mode 100644 index 000..24e1ea6 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html.in @@ -0,0 +1,422 @@ +AppendixC.Operational LoggingPrevNextAppendixC.Operational LoggingThe Broker will, by default, produce structured log messages in response to key events in +the lives of objects within the Broker. These concise messages are designed to allow the user to +understand the actions of the Broker in retrospect. This is valuable for problem diagnosis and +provides a useful audit trail.Each log message includes details of the entity causing the action (e.g. a management user +or messaging client connection), the entity receiving the action (e.g. a queue or connection) +and a description of operation itself.The log messages have the following format: +[Actor] {[Subject]} [Message Id] [Message Text] + Where:Actor is the entity within the Broker that is + performing the action. There are actors corresponding to the Broker +itself, Management, Connection, and Channels. Their format is described in the table below.Subject (optional) is the entity within the Broker that is + receiving the action. There are subjects corresponding to the +Connections, Channels, Queues, Exchanges, Subscriptions, and Message Stores. Their format is +described in the table below.Some actions are reflexive, in these cases the Actor and Subject will be equal.Message Id is an identifier for the type of message. It has the form +three alphas and four digits separated by a hyphen AAA-.Message Text is a textual descriptionTo illustrate, let's look at two examples.CON-1001 is used when a messages client makes an AMQP connection. The +connection actor (con) provides us with details of the peer's connection: the +user id used by the client (myapp1), their IP, ephemeral port number and the name of the virtual +host. The message text itself gives us further details about the connection: the client id, the +protocol version in used, and details of the client's qpid library.[con:8(myapp1@/127.0.0.1:52851/default)] CON-1001 : Open : Destination : AMQP(127.0.0.1:5672) : +Protocol Version : 0-10 : Client ID : myapp1 : Client Version : 7.0.0-SNAPSHOT : Client Product : qpidQUE-1001 is used when a queue is created. The connection actor + con tells us details of the connection performing the queue creation: the +user id used by the client (myapp1), the IP, ephemeral port number and the name of the virtual +host. The queue subject tells use the queue's name (myqueue) and the virtualhost. The message +itself tells us more information about the queue that is being created. [con:8(myapp1@/127.0.0.1:52851/default)/ch:0] [vh(/default)/qu(myqueue)] QUE-1001 : Create : Owner: myapp1 TransientThe first two tables that follow describe the actor and subject entities, then the later +provide a complete catalogue of all supported messages.TableC.1.Actors EntitiesActor TypeFormat and PurposeBroker[Broker] +Used during startup and shutdown + Management + [mng:userid(clientip:ephemeralport)] +Used for operations performed by the Web Management interfaces. + Connection + [con:connectionnumber(userid@/clientip:ephemeralport/virtualhostname)] +Used for operations performed by a client connection. Note that connections are + numbered by a sequence number that begins at 1. + Channel + [con:connectionnumber(userid@/clientip:ephemeralport/virtualhostname/ch:channelnumber)] +Used for operations performed by a client's channel (corresponds to the JMS + concept of Session). Note that channels are numbered by a sequence number that is + scoped by the owning connection. + Group [grp(/groupname)/vhn(/virtualhostnode + name)] +Used for HA. Used for operations performed by the system itself often as a result + of actions performed on another node.. + TableC.2.Subject EntitiesSubject TypeFormat and PurposeConnection + [con:connectionnumber(userid@/clientip:ephemeralport/virtualhostname)] +A connection to the Broker. + Channel + [con:connectionnumber(userid@/clientip:ephemeralport/virtualhostname/ch:channelnumber)] +A client's channel within a
[02/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-jms-amqp-0-x-master/index.md -- diff --git a/input/releases/qpid-jms-amqp-0-x-master/index.md b/input/releases/qpid-jms-amqp-0-x-master/index.md new file mode 100644 index 000..57f8c87 --- /dev/null +++ b/input/releases/qpid-jms-amqp-0-x-master/index.md @@ -0,0 +1,46 @@ +;; +;; Licensed to the Apache Software Foundation (ASF) under one +;; or more contributor license agreements. See the NOTICE file +;; distributed with this work for additional information +;; regarding copyright ownership. The ASF licenses this file +;; to you under the Apache License, Version 2.0 (the +;; "License"); you may not use this file except in compliance +;; with the License. You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, +;; software distributed under the License is distributed on an +;; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +;; KIND, either express or implied. See the License for the +;; specific language governing permissions and limitations +;; under the License. +;; + +# Qpid JMS for AMQP 0-x documentation snapshot + + + +## Warning! This is a snapshot of work in progress + +Documentation found here may be incorrect or incomplete. For a +smoother experience, see the [current stable +release]({{current_jms_amqp_0_x_release_url}}/index.html). + +This content was generated at 12:42 on Wednesday, 26 April 2017. + + + +## Documentation + + + + + - [API reference](http://docs.oracle.com/javaee/7/api/javax/jms/package-summary.html) + + + + +## More information + + - [Source repository](https://git-wip-us.apache.org/repos/asf/qpid-jms-amqp-0-x.git) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/snapshots.md -- diff --git a/input/releases/snapshots.md b/input/releases/snapshots.md index 5965acf..d831838 100644 --- a/input/releases/snapshots.md +++ b/input/releases/snapshots.md @@ -2,9 +2,11 @@ Warning! These are snapshots of work in progress. + - [Qpid Broker-J]({{site_url}}/releases/qpid-broker-j-master/index.html) - [Qpid C++]({{site_url}}/releases/qpid-cpp-master/index.html) - [Qpid Dispatch]({{site_url}}/releases/qpid-dispatch-master/index.html) - [Qpid JMS]({{site_url}}/releases/qpid-jms-master/index.html) + - [Qpid JMS for AMQP 0-x]({{site_url}}/releases/qpid-jms-amqp-0-x-master/index.html) - [Qpid for Java]({{site_url}}/releases/qpid-java-trunk/index.html) - [Qpid Proton]({{site_url}}/releases/qpid-proton-master/index.html) - [Qpid Python]({{site_url}}/releases/qpid-python-master/index.html) http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/python/generate.py -- diff --git a/python/generate.py b/python/generate.py index 33c9841..9d6d982 100644 --- a/python/generate.py +++ b/python/generate.py @@ -6,9 +6,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -53,18 +53,18 @@ def setup_release_script(): assert release_dir != "" assert checkout_dir is None or checkout_dir != "" -call("cmake --version > /dev/null") -call("dot -V > /dev/null") -call("doxygen --version > /dev/null") -call("epydoc --version > /dev/null") -call("fop -version > /dev/null") -call("gcc --version > /dev/null") -call("make --version > /dev/null") -call("rdoc --version > /dev/null") -call("which sphinx-build > /dev/null") -call("svn --version > /dev/null") -call("which javadoc > /dev/null") -call("xsltproc --version > /dev/null") +call_and_print_on_error("cmake --version") +call_and_print_on_error("dot -V") +call_and_print_on_error("doxygen --version") +call_and_print_on_error("epydoc --version") +call_and_print_on_error("fop -version") +call_and_print_on_error("gcc --version") +call_and_print_on_error("make --version") +call_and_print_on_error("rdoc --version") +call_and_print_on_error("which sphinx-build") +call_and_print_on_error("svn --version") +call_and_print_on_error("which javadoc") +call_and_print_on_error("xsltproc --version") notice("Release script inputs:") notice(" release: {}", pformat(release)) @@ -96,7 +96,7 @@ def get_svn_release_url(module, release): if release == "trunk": path = "trunk/qpid" - +
[11/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Getting-Started-CommandLine.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Getting-Started-CommandLine.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Getting-Started-CommandLine.html.in new file mode 100644 index 000..e4b9ccb --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Getting-Started-CommandLine.html.in @@ -0,0 +1,58 @@ +3.5.Using the command linePrevChapter3.Getting StartedNext3.5.Using the command lineThe Broker understands a number of command line options which may be used to customise the configuration. + For additional details about the broker configuration and related command line arguments see + Chapter5, Initial Configuration. + The broker is fully configurable via its Web Management Console, for details of this see + Section6.2, Web Management Console. +To see usage information for all command line options, use the --help optionbin/qpid-server --helpusage: Qpid [-cic path] [-h] [-icp path] [-mm] [-mmhttp port] + [-mmpass password] [-mmqv] [-os] + [-prop name=value] [-props path] [-sp path] [-st type] [-v] + -cic,--create-initial-config path create a copy of the + initial config file, + either to an + optionally specified + file path, or as + initial-config.json + in the current + directory + -h,--helpprint this message + -icp,--initial-config-path pathset the location of + initial JSON config + to use when + creating/overwriting + a broker + configuration store + -mm,--management-modestart broker in + management mode, + disabling the AMQP + ports + -mmhttp,--management-mode-http-port port override http + management port in + management mode + -mmpass,--management-mode-password passwordSet the password for + the management mode + user mm_admin + -mmqv,--management-mode-quiesce-virtualhosts make virtualhosts + stay in the quiesced + state during + management mode. + -prop,--config-property name=value set a configuration + property to use when + resolving variables + in the broker + configuration store, + with format + "name=value" + -props,--system-properties-file path set the location of + initial properties + file to set + otherwise unset + system properties + -sp,--store-path path use given + configuration store + location + -st,--store-type type use given broker + configuration store + type + -v,--version print the version + information and exit +PrevUpNext3.4.Log fileHomeChapter4.Concepts \ No newline at end of file
[32/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Location.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Location.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Location.html new file mode 100644 index 000..e8bfa4d --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Location.html @@ -0,0 +1,151 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +5.2.Configuration Store Location - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java5.2.Configuration Store Location + + + 5.2.Configuration Store LocationPrevChapter5.Initial ConfigurationNext5.2.Configuration Store Location The broker will default to using ${qpid.work_dir}/config.json as the path for it s configuration store unless +otherwise instructed. The command line argument -sp (or +--store-path) can optionally be used to specify a different +relative or absolute path to use for the broker configuration store: +$ ./qpid-server -sp ./my-broker-configuration.json + If no configuration store exists at the specified/defaulted location when the broker +starts then one will be initialised using the current 'Initial +Configuration'. PrevUpNextChapter5.Initial ConfigurationHome5.3.'Initial Configuration' Location + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Type.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Type.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Type.html new file mode 100644 index 000..bd09628 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Type.html @@ -0,0 +1,161 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +5.5.Configuration Store Type - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md
[10/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Example.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Example.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Example.html.in new file mode 100644 index 000..1d8ed76 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Example.html.in @@ -0,0 +1,90 @@ +5.7.Example of JSON 'Initial Configuration'PrevChapter5.Initial ConfigurationNext5.7.Example of JSON 'Initial Configuration' An example of the default 'Initial Configuration' JSON file the broker uses is +provided below:Example5.1.JSON 'Initial configuration' File +{ + "name": "${broker.name}", + "modelVersion": "6.1", + "authenticationproviders" : [ { +"name" : "passwordFile", +"type" : "PlainPasswordFile", +"path" : "${qpid.home_dir}${file.separator}etc${file.separator}passwd" + } ], +"brokerloggers" : [ { +"name" : "logfile", +"type" : "File", +"fileName" : "${qpid.work_dir}${file.separator}log${file.separator}qpid.log", +"brokerloginclusionrules" : [ { + "name" : "Root", + "type" : "NameAndLevel", + "level" : "WARN", + "loggerName" : "ROOT" +}, { + "name" : "Qpid", + "type" : "NameAndLevel", + "level" : "INFO", + "loggerName" : "org.apache.qpid.*" +}, { + "name" : "Operational", + "type" : "NameAndLevel", + "level" : "INFO", + "loggerName" : "qpid.message.*" +} ] + }, { +"name" : "memory", +"type" : "Memory", +"brokerloginclusionrules" : [ { + "name" : "Root", + "type" : "NameAndLevel", + "level" : "WARN", + "loggerName" : "ROOT" +}, { + "name" : "Qpid", + "type" : "NameAndLevel", + "level" : "INFO", + "loggerName" : "org.apache.qpid.*" +}, { + "name" : "Operational", + "type" : "NameAndLevel", + "level" : "INFO", + "loggerName" : "qpid.message.*" +} ] + } ], + "ports" : [ { +"name" : "AMQP", +"port" : "${qpid.amqp_port}", +"authenticationProvider" : "passwordFile", +"virtualhostaliases" : [ { + "name" : "nameAlias", + "type" : "nameAlias" +}, { +"name" : "defaultAlias", +"type" : "defaultAlias" +}, { +"name" : "hostnameAlias", +"type" : "hostnameAlias" +} ] + }, { +"name" : "HTTP", +"port" : "${qpid.http_port}", +"authenticationProvider" : "passwordFile", +"protocols" : [ "HTTP" ] + }], + "virtualhostnodes" : [ { +"name" : "default", +"type" : "JSON", +"defaultVirtualHostNode" : "true", +"virtualHostInitialConfiguration" : "\\${qpid.initial_config_virtualhost_config}" + } ], + "plugins" : [ { +"type" : "MANAGEMENT-HTTP", +"name" : "httpManagement" + } ] +} +In the configuration above the following entries are stored: Authentication Provider of type +PlainPasswordFile with name "passwordFile". + Two Port entries: "AMQP", "HTTP" + Virtualhost Node called default. On initial startup, it +virtualHostInitialConfiguration will cause a virtualhost to be created +with the same name. The configuration will be stored in a +JSON configuration store, the message data will +be stored in a DERBY message store.One management plugin: "httpManagement" of type "MANAGEMENT-HTTP".Broker attributes are stored as a root entry. +PrevUpNext5.6.Customising Configuration using Configuration PropertiesHomeChapter6.Management Channels \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Initial-Config-Location.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Initial-Config-Location.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Initial-Config-Location.html.in new file mode 100644 index 000..3bad0cb --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Initial-Configuration-Initial-Config-Location.html.in @@ -0,0 +1,11 @@ +5.3.'Initial Configuration' LocationPrevChapter5.Initial ConfigurationNext5.3.'Initial Configuration' Location The 'Initial Configuration' JSON file is used when initialising new broker +configuration stores. The broker will default to using an internal file within its jar +
[36/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html new file mode 100644 index 000..17d71fc --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html @@ -0,0 +1,202 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +4.6.Exchanges - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java4.6.Exchanges + + + 4.6.ExchangesPrevChapter4.ConceptsNext4.6.ExchangesAn Exchange is a named entity within the Virtualhost which receives + messages from producers and routes them to matching Queues within the Virtualhost.The server provides a set of exchange types with each exchange type implementing a different routing algorithm. For details of how + these exchanges types work see Section4.6.2, Exchange Types below.The server predeclares a number of exchange instances with names starting with "amq.". These are defined in + Section4.6.1, Predeclared Exchanges.Applications can make use of the pre-declared exchanges, or they may declare their own. The number of exchanges within a Virtualhost is + limited only by resource constraints.The behaviour when an Exchange is unable to route a message to any queue is defined in Section4.6.4, Unrouteable Messages4.6.1.Predeclared ExchangesEach Virtualhost pre-declares the following exchanges: + amq.direct (an instance of a direct exchange)amq.topic (an instance of a topic exchange)amq.fanout (an instance of a fanout exchange)amq.match (an instance of a headers exchange) + The conceptual "default exchange" always exists, effectively a special instance of + direct exchange which uses the empty string as its name. All queues are automatically bound to it upon their creation + using the queue name as the binding key, and unbound upon their deletion. It is not possible to manually add or remove + bindings within this exchange.Applications may not declare exchanges with names beginning with "amq.". Such names are reserved for system use.4.6.2.Exchange Types + The following Exchange types are supported. + DirectTopicFanoutHeaders + These exchange types are described in the following sub-sections.4.6.2.1.DirectThe direct exchange type routes messages to queues based on an exact match between +the routing key of the message, and the binding key used to bind the queue to the exchange. Additional +filter rules may be specified using a +binding argument specifying a JMS message selector. + This exchange type is often used to implement point to point messaging. When used in this manner, the normal + convention is that the binding key matches the name of the queue. It is also possible to use this exchange type + for multi-cast, in this case the same binding key is associated with many queues.Figure4.4.Direct exchangeThe figure above illustrates the operation of direct exchange type. The yellow messages published with the routing key +"myqueue" match the binding key corresponding to queue "myqueue" and so are routed there. The red +messages published with the routing key "foo" match two bindings in the table so a copy of the message is +routed to
[17/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
ested a drain of remaining credit. - - - - - - - - - - - - void on_transport_error - ( - proton::transport - t) - - - - - -inlinevirtual - - - - -The underlying network transport has closed with an error condition. - -Reimplemented from messaging_handler. -Examples: broker.cpp, and broker.hpp. - - - -The documentation for this class was generated from the following file: -/tmp/jross/transom/qpid-proton-0.13.0/examples/cpp/broker.hpp - - - - - - -broker_handler -Generated by -http://www.doxygen.org/index.html;> - 1.8.10 - - - - http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/classbroker__handler.js -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/classbroker__handler.js b/content/releases/qpid-proton-0.13.0/proton/cpp/api/classbroker__handler.js deleted file mode 100755 index 7f175ea..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/classbroker__handler.js +++ /dev/null @@ -1,32 +0,0 @@ -var classbroker__handler = -[ -[ "broker_handler", "classbroker__handler.html#ad8bbb2620f6da6064ded573a99a957f9", null ], -[ "on_connection_close", "classbroker__handler.html#adde7bec16190792b2d70e298ad99f665", null ], -[ "on_connection_error", "classbroker__handler.html#aafa83dc2f8f477ba1f76e86dc69cd1e9", null ], -[ "on_connection_open", "classbroker__handler.html#a16ba022e899957b2e25b9561b1f53968", null ], -[ "on_container_start", "classbroker__handler.html#a4949b0c93402fae0c07492d984688a25", null ], -[ "on_delivery_settle", "classbroker__handler.html#afc96eabc76c471d61627493eadb58ac8", null ], -[ "on_error", "classbroker__handler.html#a9dd5a301b4b26073dec207de9a6b", null ], -[ "on_message", "classbroker__handler.html#adddc32dfcf9947945fddc30642b33a89", null ], -[ "on_receiver_close", "classbroker__handler.html#a77ac5c1fd05404728451cd06dee1c907", null ], -[ "on_receiver_drain_finish", "classbroker__handler.html#a815e30c6d10d923d88dc1085b7b0f116", null ], -[ "on_receiver_error", "classbroker__handler.html#a0c281aee5483822bdf4b428834bd7f28", null ], -[ "on_receiver_open", "classbroker__handler.html#a95d85b0cf35fab68a90782b501d87fb6", null ], -[ "on_sendable", "classbroker__handler.html#a25c09a23de21e65cac7e514c20f3f0a7", null ], -[ "on_sender_close", "classbroker__handler.html#ae981e071cf64d2662c62ca9965bb3877", null ], -[ "on_sender_drain_start", "classbroker__handler.html#ad3d23a7c3849dabd137610f8ee1569e3", null ], -[ "on_sender_error", "classbroker__handler.html#a2d9d98eee878f1e734457ba01e21228a", null ], -[ "on_sender_open", "classbroker__handler.html#a95946209c119a6e042580b70e0db968b", null ], -[ "on_session_close", "classbroker__handler.html#a54fe4fc5394418f8606f9263f13d2e98", null ], -[ "on_session_error", "classbroker__handler.html#aca924d2f68649df7945719be3d29a597", null ], -[ "on_session_open", "classbroker__handler.html#adddbfd9b7fc7719490bdc21331c42302", null ], -[ "on_tracker_accept", "classbroker__handler.html#a003afbb57c00ce404a863152db7867ad", null ], -[ "on_tracker_reject", "classbroker__handler.html#a0740e8c9ed9d0c304d2adced09802893", null ], -[ "on_tracker_release", "classbroker__handler.html#acfde5590c6e826ef9e2c33a28edefe19", null ], -[ "on_tracker_settle", "classbroker__handler.html#a023a5c57eeeaf79ed5b768cd172ad0ac", null ], -[ "on_transport_close", "classbroker__handler.html#a8e5a8f33c20429dbe712554ddaa5c352", null ], -[ "on_transport_error", "classbroker__handler.html#a678640402af78dd3c195fc034d9895dd", null ], -[ "on_transport_open", "classbroker__handler.html#a921fd578050f05c5d4a3455ec4836c79", null ], -[ "remove_stale_consumers", "classbroker__handler.html#ab1c865b375f56dcc2d38662b9af261ff", null ], -[ "unsubscribe", "classbroker__handler.html#aa5f8ce03a1ab78d39b596278805c2fff", null ] -]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/classbroker__handler.png -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/classbr
[12/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Backup-And-Recovery.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Backup-And-Recovery.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Backup-And-Recovery.html.in new file mode 100644 index 000..c4d9945 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Backup-And-Recovery.html.in @@ -0,0 +1,4 @@ +Chapter11.Backup And RecoveryPrevNextChapter11.Backup And RecoveryTable of Contents11.1. Broker11.2. Virtualhost Node11.2.1. BDB11.2.2. BDB-HA11.2.3. Derby11.2.4. JDBC11.2.5. JSON11.3. Virtualhost11.3.1. BDB11.3.2. Derby11.3.3. JDBC11.3.4. Provided11.3.5. BDB-HA11.1.BrokerTo perform a complete backup whilst the Broker is shutdown, simply copy all the files the + exist beneath ${QPID_WORK}, assuming all virtualhost nodes and virtualhost + are in their standard location, this will copy all configuration and persistent message data. There is currently no safe mechanism to take a complete copy of the entire Broker whilst + it is running.PrevNext10.11.Reset Group InformationHome11.2.Virtualhost Node \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Authentication-Providers.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Authentication-Providers.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Authentication-Providers.html.in new file mode 100644 index 000..e20641a --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Authentication-Providers.html.in @@ -0,0 +1,5 @@ +4.9.Authentication ProvidersPrevChapter4.ConceptsNext4.9.Authentication Providers +Authentication Providers are used by Ports to authenticate connections. +Many Authentication Providers can be configured on the Broker at the same time, from which +each Port can be assigned one. +Some Authentication Providers offer facilities for creation and deletion of users.PrevUpNext4.8.PortsHome4.10.Other Services \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Broker.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Broker.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Broker.html.in new file mode 100644 index 000..4c22f94 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Broker.html.in @@ -0,0 +1 @@ +4.2.BrokerPrevChapter4.ConceptsNext4.2.BrokerThe Broker is the outermost entity within the system.The Broker is backed by storage. This storage is used to record the durable entities that exist beneath it.PrevUpNextChapter4.ConceptsHome4.3.Virtualhost Nodes \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html.in new file mode 100644 index 000..a6e5b97 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Concepts-Exchanges.html.in @@ -0,0 +1,59 @@ +4.6.ExchangesPrevChapter4.ConceptsNext4.6.ExchangesAn Exchange is a named entity within the Virtualhost which receives + messages from producers and routes them to matching Queues within the Virtualhost.The server provides a set of exchange types with each exchange type implementing a different routing algorithm. For details of how + these exchanges types work see Section4.6.2, Exchange Types below.The server predeclares a number of exchange instances with names starting with "amq.". These are defined in + Section4.6.1, Predeclared Exchanges.Applications can make use of the pre-declared exchanges, or they may declare their own. The number of exchanges within a Virtualhost is + limited only by resource constraints.The behaviour when an Exchange is unable to route a message to any queue is defined in Section4.6.4, Unrouteable Messages4.6.1.Predeclared ExchangesEach Virtualhost pre-declares the following exchanges: + amq.direct (an instance of a direct exchange)amq.topic (an
[09/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-REST-API.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-REST-API.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-REST-API.html.in new file mode 100644 index 000..bf96c3f --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-REST-API.html.in @@ -0,0 +1,266 @@ +6.3.REST APIPrevChapter6.Management ChannelsNext6.3.REST API6.3.1.IntroductionThis section describes the REST API provided by the Apache Qpid Broker for Java. The REST API is intended + for use by developers who wish to automate the management or monitoring of the Qpid Broker. It + is also very useful for adhoc monitoring on the command line using tools such as +curl.The REST API provides access to all of the Broker's entities using hierarchical paths + expressed by the URI. Responses are returned in JSON format.The GET method request retrieves information about an object, the +DELETE method requests the removal of one, and the PUT + or POST methods perform updates or create new objects. The +POST method is also used to invoke operations.The REST API is versioned with the version number embedded within the URI. The general form + of the URI is /api/version where version is a dot separated + major and minor model version prefixed with "v", for example, "v6.1" (without the quotation marks). + For convenience the alias latest (/api/latest) signifies the + latest supported version.There are also some ancillary services under URI /service used for + authentication and logout.6.3.2.REST API documentationREST API documentation is available on-line from any Broker at location +/apidocs. It is also linked from the menu of the Web Management Console. +6.3.3.AuthenticationBefore you can use the REST API, you must authenticate. Authentication decisions are made + by the authentication +provider associated with HTTP port + on which you connect.You may authenticate using https://www.ietf.org/rfc/rfc4422.txt; target="_top">SASL +(/service/sasl) or https://tools.ietf.org/html/rfc2617; target="_top">HTTP +Basic Authentication. The latter is convienent when using tools such as +curl on the command line. This is illustrated in the examples + below.For SASL authentication use a GET request to +/service/sasl to get a list of supported SASL mechanisms, and use +PUT to the same URL to perform the SASL negotiation.It is possible to end an authenticated session using + /service/logout.6.3.4.Configured Object creationMethods PUT or POST can be used to create ConfiguredObject. ConfiguredObject can be created by submitting PUT request against ConfiguredObject full + URI (the one ending with configured object name) or by submitting PUT/POST request against + parent URI. The request encoding should be json (application/json) and request body should + contain attributes values in json format. On successful completion of operation a response + should be returned having response status code set to 201 and response header "Location" set + to ConfiguredObject full URI. If object with a such name/id already exist and POST/PUT + requests is made against parent URI, an error response should be returned having response code + 409 (conflict) and body containing the json with the reason of operation failure. If object + with a such name/id already exist and and PUT request is made against ConfiguredObject full + URI, then ConfiguredObject update should be performed and http status code 200 should be + returned. If ConfiguredObject cannot be created because of validation failure(s) the response + should have http status code set 422 (Unprocessible Entity) and body should contain json with + the reason of operation failure. On any other failure to create ConfiguredObject the response + should have status code set to 400 (Bad Request) and payload should contain a json with error + explaining the exact reason of failure. Example6.1.Examples of REST calls for Queue creation To create Queue with name "my-queue" on a virtual host with name "vh" (which is +contained within virtual host node with name "vhn") either of the following requests should +be made: PUT /api/latest/queue/vhn/vh HTTP/1.1POST /api/latest/queue/vhn/vh HTTP/1.1PUT /api/latest/queue/vhn/vh/my-queue HTTP/1.1 Response code 201 should be returned on successful queue creation. Response header +"Location" should be set to "/api/latest/queue/test/my-queue". If queue with name
[30/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-Web-Console.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-Web-Console.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-Web-Console.html new file mode 100644 index 000..0a797f9 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Channel-Web-Console.html @@ -0,0 +1,191 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +6.2.Web Management Console - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java6.2.Web Management Console + + + 6.2.Web Management ConsolePrevChapter6.Management ChannelsNext6.2.Web Management Console The Web Management Console provides a simple and intuitive interface for the Management +and Control of the Broker. From here, all aspects of the Broker can be controlled, +including: add, remove and monitor queuesinspect, move, copy or delete messagesadd, remove and monitor virtualhostsconfigure and control high availability +The remainder of the section provides an introduction to the web management console and +its use.6.2.1.Accessing the ConsoleThe Web Management Console is provided by the HTTP Management Plugin. Providing the +HTTP Management Plugin is in its default configuration, the Web Management Console can +be accessed by pointing a browser at the following URL: +http://myhost.mydomain.com:8080 +The Console will prompt you to login using a username and password.Figure6.1.Web Management Console - Authentication6.2.2.OrientationAfter you have logged on you will see a screen similar to the following. The elements +of the screen are now explained.Figure6.2.Web Management Orientation - Console +A - Hierarchy view. Expandable/collapsible view +showing all entities within the Broker. Double click on an entity name to +cause its tab to be opened. B - Tab. Shows the details of an entity including its +attributes and its child entities. C - Occluded tab. Click tab name to bring the tab to +the front.D - Auto restore check box. Checked tabs will be +automatically restored on subsequent login.E - Close. Click to close the tab.F - User Menu. Access to Preferences, Logout and +Help. +Figure6.3.Web Management Orientation - TabThe elements of a tab are now explained: 1 - Attribute Panel. Shows the attributes of the +entity. Click the panel title bar opens/closes the panel.2 - Child Panels. Panels containing a table listing +the children of the entity. Click the panel title bar opens/closes the +panel.3 - Child Row. Row summarizing a child entity. Double +click to open the child tab.4 - Child Operations. Buttons to add a new child or +perform operations on existing children. +6.2.3.Managing EntitiesAll the Entities of the Broker of can be managed through the Web Console.6.2.3.1.Adding EntitiesTo add a new entity, click the Add button +on the Child Panel on the
[21/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/index.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/index.html b/content/releases/qpid-broker-j-master/java-broker/book/index.html new file mode 100644 index 000..341b957 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/index.html @@ -0,0 +1,151 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +Apache Qpid Broker for Java - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java + + + Apache Qpid Broker for JavaNextApache Qpid Broker for JavaTable of Contents1. Introduction2. Installation2.1. Introduction2.2. Prerequisites2.2.1. Java Platform2.2.2. Disk2.2.3. Memory2.2.4. Operating System Account2.3. Download2.3.1. Broker Release2.4. Installation on Windows2.4.1. Setting the working directory2.5. Installation on UNIX platforms2.5.1. Setting the working directory2.6. Optional Dependencies3. Getting Started3.1. Introduction3.2. Starting/Stopping the broker on Windows3.3. Starting/Stopping the broker on Unix3.4. Log file3.5. Using the command line4. Concepts4.1. Overview4.2. Broker4.3. Virtualhost Nodes4.4. Remote Replication Nodes4.5. Virtualhosts4.6. Exchanges4.6.1. Predeclared Exchanges4.6.2. Exchange Types4.6.3. Binding Arguments4.6.4. Unrouteable Messages4.7. Queues4.7.1. Types4.7.2. Queue Declare Arguments4.7.3. Messaging Grouping4.7.4. Using low pre-fetch with special queue types4.7.5. Forcing all consumers to be non-destructive4.7.6. Holding messages on a Queue4.7.7. Controlling Queue Size4.8. Ports4.9. Authentication Providers4.10. Other Services4.10.1. Access Control Providers4.10.2. Group Providers4.10.3. Keystores4.10.4. Truststores4.10.5. Loggers5. Initial Configuration5.1. Introduction5.2. Configuration Store Location5.3. 'Initial Configuration' Location< dt>5.4. Creating an 'Initial Configuration' JSON File5.5. Configuration Store Type5.6. Customising Configuration using Configuration Properties5.7. Example of JSON 'Initial Configuration'6. Management Channels6.1. HTTP Management6.1.1. Introduction6.1.2. Default Configuration6.2. Web Management Console6.2.1. Accessing the Console6.2.2. Orientation6.2.3. Managing Entities6.3 . REST API6.3.1. Introduction6.3.2. REST API documentation6.3.3. Authentication6.3.4. Configured Object creation6.3.5. Configured Object update6.3.6. Configured Object deletion6.3.7. Retrieving Configured Object details6.3.8. Configured Object operations6.3.9. HTTP status codes returned by REST interfaces6.3.10. Examples of REST requests with curl6.3.11. Query API6.3.12. Cross Origin Resource Sharing (CORS)6.4. AMQP Intrinstic Management6.5. QMF7. Managing Entities7.1. General Description7.2. Entity/Management Channel Support Matrix7.3. Brokerhref="Java-Broker-Management-Managing-Broker.html#Java-Broker-Management-Managing-Broker-Attributes">7.3.1. > Attributeshref="Java-Broker-Management-Managing-Broker.html#Java-Broker-Management-Managing-Broker-Context">7.3.2. > Contexthref="Java-Broker-Management-Managing-Broker.html#Java-Broker-Management-Managing-Broker-Children">7.3.3. > Childrenhref="Java-Broker-Management-Managing-Broker.html#Java-Broker-Management-Managing-Broker-Lifecycle">7.3.4. > Lifecyclehref="Java-Broker-Management-Managing-Virtualhost-Nodes.html">7.4. >Virtualhost
[33/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-OverviewOfHA.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-OverviewOfHA.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-OverviewOfHA.html new file mode 100644 index 000..c74a7c0 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-OverviewOfHA.html @@ -0,0 +1,169 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +10.2.High Availability Overview - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java10.2.High Availability Overview + + + 10.2.High Availability OverviewPrevChapter10.High AvailabilityNext10.2.High Availability OverviewThe Broker provides a HA implementation offering an Active/Passive mode of operation. + When using HA, many instances of the Broker work together to form an high availability group of two or more nodes.The remainder of this section now talks about the specifics of how HA is achieved in terms + of the concepts introduced earlier in this + book.The Virtualhost is the unit of + replication. This means that any durable queues, exchanges, and bindings + belonging to that virtualhost, any persistent messages contained within + the queues and any attribute settings applied to the virtualhost itself are automatically + replicated to all nodes within the group.[14]It is the Virtualhost Nodes + (from different Broker instances) that join together to form a group. The virtualhost nodes + collectively to coordinate the group: they organise replication between the master and + replicas and conduct elections to determine who becomes the new master in the event of the old + failing.When a virtualhost node is in the master role, the virtualhost + beneath it is available for messaging work. Any write operations sent to the virtualhost are + automatically replicated to all other nodes in group.When a virtualhost node is in the replica role, the virtualhost + beneath it is always unavailable for message work. Any attempted connections to a virtualhost + in this state are automatically turned away, allowing a messaging client to discover where the + master currently resides. When in replica role, the node sole responsibility is to consume a + replication stream in order that it remains up to date with the master.Messaging clients discover the active virtualhost.This can be achieved using a static + technique (for instance, a failover url (a feature of a Apache Qpid JMS Client for AMQP 0-9-1/0-10)), or a dynamic one + utilising some kind of proxy or virtual IP (VIP).The figure that follows illustrates a group formed of three virtualhost nodes from three + separate Broker instances. A client is connected to the virtualhost node that is in the master + role. The two virtualhost nodes weather1 and weather3 + are replicas and are receiving a stream of updates.Figure10.1.3-node group deployed across three Brokers.Currently, the only virtualhost/virtualhost node type offering HA is BDB HA. Internally, + this leverages the HA capabilities of the Berkeley DB JE edition. BDB JE is an optional dependency of + the Broker.NoteThe HA solution from
[29/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities-Matrix.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities-Matrix.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities-Matrix.html new file mode 100644 index 000..13e2ac1 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities-Matrix.html @@ -0,0 +1,145 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +7.2.Entity/Management Channel Support Matrix - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java7.2.Entity/Management Channel Support Matrix + + + 7.2.Entity/Management Channel Support MatrixPrevChapter7.Managing EntitiesNext7.2.Entity/Management Channel Support MatrixThis tables indicates which management channels support the creation (C), update (U), or +deletion (D) of different entities within the Broker.Table7.1.Entity/Management MatrixEntityHTTPAMQPBrokerUNoVirtualhost NodeC/U/DNoVirtualhostC/U/DNoRemote Replication Node U/DNoExchangeC/DC/DQueueC/DC/DBindingC/DC/DPortC/U/DNoAuthentication ProvidersC/U/DNoGroup ProvidersC//DNoAccess Control ProviderC//DNo< tr>KeystoresC//DNoTruststoresC//DNoUsersC//DNoGroupsC//DNoLoggersC/U/DNoNoteIt is currently only possible to modify a entity's context using the HTTP channel. PrevUpNextChapter7.Managing EntitiesHome7.3.Broker + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html new file mode 100644 index 000..d361491 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html @@ -0,0 +1,165 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +Chapter7.Managing Entities - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md
[15/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/mt__container_8hpp_source.html -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/mt__container_8hpp_source.html b/content/releases/qpid-proton-0.13.0/proton/cpp/api/mt__container_8hpp_source.html deleted file mode 100755 index 3c5093f..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/mt__container_8hpp_source.html +++ /dev/null @@ -1,137 +0,0 @@ -http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> -http://www.w3.org/1999/xhtml;> - - - - -Qpid Proton C++ API: /tmp/jross/transom/qpid-proton-0.13.0/examples/cpp/mt/mt_container.hpp Source File - - - - - - - - - $(document).ready(initResizable); - $(window).load(resizeHeight); - - - - - - $(document).ready(function() { init_search(); }); - - - - - - - - - - - Qpid Proton C++ API - 0.13.0 - - - - - - - - - - - - - - - - - - -var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - -$(document).ready(function(){initNavTree('mt__container_8hpp_source.html','');}); - - - - - - - - - - - - - - -mt_container.hpp - - -1#ifndef MT_MT_CONTROLLER_HPP - 2#define MT_MT_CONTROLLER_HPP - 3 - 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 23#include proton/default_container.hpp - 24#include memory - 25 - 26// Defined in whichever MT container implementation we are linked with. - 27std::unique_ptrproton::container make_mt_container(const std::string id); - 28 - 29#endif // MT_MT_DEFAULT_CONTAINER.HPP - - - - - -examplescppmtmt_container.hpp -Generated by -http://www.doxygen.org/index.html;> - 1.8.10 - - - - http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/navtreeindex4.js -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/navtreeindex4.js b/content/releases/qpid-proton-0.13.0/proton/cpp/api/navtreeindex4.js deleted file mode 100755 index 2c12eb3..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/navtreeindex4.js +++ /dev/null @@ -1,42 +0,0 @@ -var NAVTREEINDEX4 = -{ -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a4756f5bbd9f28d6b8905f32024b57398":[7,0,1,47,0,6], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a4cafa5feda04184537b4d7d346e1e89b":[7,0,1,47,0,24], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a574bf5ec73e28138b997d24464adb70c":[7,0,1,47,0,9], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a69c9d854e6a5430635ad44693470612d":[7,0,1,47,0,21], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a74cf8825b522b9721ea02973803d76b4":[7,0,1,47,0,0], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a7a1fe3ba88f0c16cb494922948a9597d":[7,0,1,47,0,5], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a8a583f16e8d237a423c8c1d9087a4c72":[7,0,1,47,0,1], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a8df764f32f4aeba9ac8c7baccfd73388":[7,0,1,47,0,14], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a9a82428c8d08720e3134f1243496f7d6":[7,0,1,47,0,15], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a9ae509995ac75484348487a7477900ca":[7,0,1,47,0,4], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9a9cf4a0866224b0bb4a7a895da27c9c4c":[7,0,1,47,0,12], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9aa7f492d725033c06576ac4ba21007297":[7,0,1,47,0,3], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9aaee055c4a5aba7d55774e4f1c01dacea":[7,0,1,47,0,10], -"type__id_8hpp.html#a83c2656d467d69eb49725c18f5aa13a9aaf1ea4a849fa4
[24/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Security.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Security.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Security.html new file mode 100644 index 000..1cedacd --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Security.html @@ -0,0 +1,295 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +Chapter8.Security - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for JavaChapter8.Security + + + Chapter8.SecurityPrevNextChapter8.SecurityTable of Contents8.1. Authentication Providers8.1.1. Simple LDAP8.1.2. Kerberos8.1.3. OAuth28.1.4. External (SSL Client Certificates)8.1.5. Anonymous8.1.6. SCRAM SHA8.1.7. Plain8.1.8. Plain Password File (Deprecated) 8.1.9. MD5 Provider8.1.10. Base64MD5 Password File (Deprecated)8.2. Group Providers8.2.1. GroupFile Provider8.2.2. ManagedGroupProvider8.2.3. CloudFoundryDashboardManagementGroupProvi der8.3. Access Control Lists8.3.1. + Writing .acl files +8.3.2. + Syntax +8.3.3. + Worked Examples +8.4. Configuration Encryption8.4.1. Configuration8.4.2. Alternate Implementations8.1.Authentication Providers In order to successfully establish a connection to the Broker, the connection must be +authenticated. The Broker supports a number of different authentication schemes, each with +its own "authentication provider". Any number of Authentication Providers can be configured on +the Broker at the same time. Important Only unused Authentication Provider can be deleted. For delete requests attempting to + delete Authentication Provider associated with the Ports, the errors will be returned and + delete operations will be aborted. It is possible to change the Authentication Provider on + Port at runtime. However, the Broker restart is required for changes on Port to take effect. +Note + Authentication Providers may choose to selectively disable certain authentication mechanisms + depending on whether an encrypted transport is being used or not. This is to avoid insecure + configurations. Notably, by default the PLAIN mechanism will be disabled on non-SSL + connections. This security feature can be overwritten by setting + secureOnlyMechanisms = [] in the authentication provider + section of the config.json. + Warning + Changing the secureOnlyMechanism is a breach of security and might cause passwords to be + transfered in the clear. Use at your own risk! + +8.1.1.Simple LDAP The Simple LDAP authenticates connections against a Directory (LDAP). To create a SimpleLDAPAuthenticationProvider the following mandatory fields are required: LDAP server URL is the URL of the server, for example, +ldaps://example.com:636Search context is the distinguished name of the search base +object. It defines the location from which the search for users begins, for example, +dc=users,dc=example,dc=comSearch filter is a DN template to find an LDAP user entry by +provided user name, for example, (uid={0}) Additionally, the following optional fields can be specified: LDAP context factory is a fully qualified class name for
[19/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-java-trunk/java-broker/book/Java-Broker-Close-Connection-When-No-Route.html -- diff --git a/content/releases/qpid-java-trunk/java-broker/book/Java-Broker-Close-Connection-When-No-Route.html b/content/releases/qpid-java-trunk/java-broker/book/Java-Broker-Close-Connection-When-No-Route.html deleted file mode 100644 index ebd99c8..000 --- a/content/releases/qpid-java-trunk/java-broker/book/Java-Broker-Close-Connection-When-No-Route.html +++ /dev/null @@ -1,173 +0,0 @@ - - -http://www.w3.org/1999/xhtml; xml:lang="en"> - -9.5.Closing client connections on unroutable mandatory messages - Apache Qpid - - - - -var _deferredFunctions = []; - - - - -https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> -https://github.com/apache/qpid-proton/blob/go1/README.md -https://github.com/apache/qpid-proton/tree/go1{/dir} -https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> - - - - - - - - - - Apache Qpid - Documentation - Download - Discussion - - - - - - -Project - - - Overview - Components - Releases - - - - -Messaging APIs - - - Qpid Proton - Qpid JMS - Qpid Messaging API - - - - -Servers and tools - - - Java broker - C++ broker - Dispatch router - - - - -Resources - - - Dashboard - https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki - More resources - - - - - - -http://www.google.com/search; method="get"> - - - Search - More ways to search - - - - -HomeReleasesQpid Java TrunkAMQP Messaging Broker (Java)9.5.Closing client connections on unroutable mandatory messages - - - 9.5.Closing client connections on unroutable mandatory messagesPrevChapter9.RuntimeNext9.5.Closing client connections on unroutable mandatory messages9.5.1.Summary -Due to asynchronous nature of AMQP 0-8/0-9/0-9-1 protocols sending a message with a routing key for which no queue binding exist results -in either message being bounced back (if it is mandatory or immediate) or discarded on broker side otherwise. - -When a 'mandatory' message is returned back, the Qpid JMS client conveys this by delivering -an AMQNoRouteException through the configured ExceptionListener on the Connection. -This does not cause channel or connection closure, however it requires a special exception handling -on client side in order to deal with AMQNoRouteExceptions. -This could potentially be a problem when using various messaging frameworks (e.g. Mule) -as they usually close the connection on receiving any JMSException. - -In order to simplify application handling of scenarios where 'mandatory' messages -are being sent to queues which do not actually exist, the Java Broker can be configured such that -it will respond to this situation by closing the connection -rather than returning the unroutable message to the client as it normally should. -From the application perspective, this will result in failure of synchronous operations in progress such as a session commit() call. -NoteThis feature affects only transacted sessions. -Qpid JMS client sends 'mandatory' messages when using Queue destinations -and 'non-mandatory' messages when using Topic destinations. -9.5.2.Configuring closeWhenNoRoute -The Broker attribute closeWhenNoRoute can be set to specify this feature on broker side. -By default, it is turned on. Setting closeWhenNoRoute to false switches it off. - -Setting the closeWhenNoRoute in the JMS client connection URL can override the broker configuration -on a connection specific basis, for example : -Example9.2.Disable feature to close connection on unroutable messages with client URL -amqp://guest:guest@clientid/?brokerlist='tcp://localhost:5672'closeWhenNoRoute='false' - If no value is specified on the client the broker setting will be used. If client setting is specified then it will take precedence - over the broker-wide configuration. If the client specifies and broker does not support this feature the warning will be logged. -PrevUpNext9.4.Handing Undeliverable MessagesHome9.6.Flow to Disk - - - - -
[34/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Backup.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Backup.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Backup.html new file mode 100644 index 000..a4bc09b --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Backup.html @@ -0,0 +1,145 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +10.10.Backups - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java10.10.Backups + + + 10.10.BackupsPrevChapter10.High AvailabilityNext10.10.BackupsIt is recommend to use the hot backup script to periodically backup every node in the + group. Section11.2.2, BDB-HA.PrevUpNext10.9.SecurityHome10.11.Reset Group Information + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, +Proton, Apache, the Apache feather logo, and the Apache Qpid +project logo are trademarks of The Apache Software +Foundation; All other marks mentioned may be trademarks or +registered trademarks of their respective owners + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Behaviour.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Behaviour.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Behaviour.html new file mode 100644 index 000..758d7f7 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-High-Availability-Behaviour.html @@ -0,0 +1,220 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +10.4.Behaviour of the Group - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +
[25/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime.html new file mode 100644 index 000..61cd549 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Runtime.html @@ -0,0 +1,238 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +Chapter9.Runtime - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for JavaChapter9.Runtime + + + Chapter9.RuntimePrevNextChapter9.RuntimeTable of Contents9.1. Logging9.1.1. Conceptshref="Java-Broker-Runtime.html#Java-Broker-Runtime-Logging-Default-Configuration">9.1.2. > Default Configurationhref="Java-Broker-Runtime.html#Java-Broker-Runtime-Logging-Loggers">9.1.3. >Loggershref="Java-Broker-Runtime.html#Java-Broker-Runtime-Logging-InclusionRules">9.1.4. > Inclusion Ruleshref="Java-Broker-Runtime.html#Java-Broker-Runtime-Logging-Management">9.1.5. >Logging Managementhref="Java-Broker-Runtime-Disk-Space-Management.html">9.2. Disk Space >Managementhref="Java-Broker-Runtime-Disk-Space-Management.html#Java-Broker-Runtime-Disk-Space-Management-Producer-Flow-Control">9.2.1. > Disk quota-based flow controlclass="section">href="Java-Broker-Runtime-Producer-Transaction-Timeout.html">9.3. Producer T ransaction Timeout9.3.1. General Information9.3.2. Purpose9.3.3. Scope9.3.4. Effect9.3.5. Configuration9.4. Handing Undeliverable Messages9.4.1. Introduction9.4.2. Maximum Delivery Count9.4.3. Dead Letter Queues (DLQ)9.5. Closing client connections on unroutable mandatory messages9.5.1. Summary9.5.2. Configuring closeWhenNoRoute9.6. Flow to Disk9.7. Consumers9.7.1. Priority9.8. Background Recovery9.9. Message Compression9.10. Connection Limits9.11. Memory9.11.1. Introduction9.11.2. Types of Memory9.11.3. Memory Usage in the Broker9.11.4. Low Memory Conditions9.11.5. Defaults9.11.6. Memory Tuning the Broker9.1.LoggingThis section describes the flexible logging capabilities of the Apache Qpid Broker for Java. +The Broker is capable of sending logging events to a variety of destinations including + plain files, remote syslog daemons, and an in-memory buffer (viewable from Management). + The system is also open for extension meaning it is possible to produce a plugin to log to + a bespoke destination.Logging can be dynamically configured at runtime. For instance, it is possible to + temporarily increase the logging verbosity of the system whilst a problem is investigated + and then revert later, all without the need to restart the Broker.Virtualhosts can be configured to generate their own separate log, and the Broker is + capable of generating a log either inclusive or exclusive of virtualhost events.Logs are accessible over Management, removing the need for those operating the Broker + to have shell level access. + In the remainder of this section you will first find a description of the concepts used in +the logging subsystem. Next, you find a description of the default configuration. The section +then concludes with a in-depth description of the loggers themselves and how they may be +configured.9.1.1.ConceptsThe logging subsystem uses two concepts: +
[03/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg new file mode 100644 index 000..4240be5 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.svg @@ -0,0 +1,23 @@ + + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> +http://www.w3.org/2000/svg; xmlns:xl="http://www.w3.org/1999/xlink; version="1.1" viewBox="123 62 277 368" width="277pt" height="368pt">http://purl.org/dc/elements/1.1/;>2013-10-01 22:37ZCanv as 6Layer 1ProducerQpid Brokeramq.topicweathersub3sub2weathersub1weatherqueuebinding_keysub1sub2sub3 routing_key=weather http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png new file mode 100644 index 000..29d5494 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png new file mode 100644 index 000..4976609 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-1.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png new file mode 100644 index 000..bd44226 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-2.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-3.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-3.png b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-3.png new file mode 100644 index 000..5457f21 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Create-3.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Overview.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Overview.png b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Overview.png new file mode 100644 index 000..3419a19 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/HA-Overview.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-MBeans.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-MBeans.png b/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-MBeans.png new file mode 100644 index 000..f766197 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-MBeans.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-Remote.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-Remote.png b/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-Remote.png new file mode 100644 index 000..5fcf9dd Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/JMX-Connect-Remote.png differ
[40/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
QPID-7756: Simplify release scripts and add some for new components - Consolidate release gen scripts; simplify makefile logic for them - Update release gen scripts; remove svn export functions no longer in use - Modernize plano usage in a few places - Update plano; correct a path in proton docs gen - Remove extra output files (those without corresponding input files) - Add release scripts for broker-j; add master docs snapshot - Add stubbed out release scripts for AMQP 0-x JMS; add its master doc snapshot - Publish new doc snapshots Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/32dce6b5 Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/32dce6b5 Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/32dce6b5 Branch: refs/heads/asf-site Commit: 32dce6b5abda356a9d4061692a09cf88329a2fb8 Parents: f3f5c10 Author: Justin RossAuthored: Fri Apr 21 16:46:53 2017 -0700 Committer: Justin Ross Committed: Wed Apr 26 12:50:48 2017 +0200 -- Makefile| 66 +- content/proton/proton-j-proton-c.html | 193 --- .../qpid-6.0.0/java-broker/book/index.html | 38 - .../releases/qpid-broker-j-master/index.html| 174 ++ .../book/AMQP-Messaging-Broker-Java-Book.html | 151 ++ ...a-Broker-Appendix-Environment-Variables.html | 197 +++ .../Java-Broker-Appendix-Operation-Logging.html | 565 +++ .../book/Java-Broker-Appendix-Queue-Alerts.html | 171 ++ ...Broker-Appendix-Queue-Declare-Arguments.html | 198 +++ .../Java-Broker-Appendix-System-Properties.html | 156 ++ ...er-Backup-And-Recovery-Virtualhost-Node.html | 156 ++ ...-Broker-Backup-And-Recovery-Virtualhost.html | 153 ++ .../book/Java-Broker-Backup-And-Recovery.html | 147 ++ ...roker-Concepts-Authentication-Providers.html | 148 ++ .../book/Java-Broker-Concepts-Broker.html | 144 ++ .../book/Java-Broker-Concepts-Exchanges.html| 202 +++ .../Java-Broker-Concepts-Other-Services.html| 151 ++ .../book/Java-Broker-Concepts-Ports.html| 155 ++ .../book/Java-Broker-Concepts-Queues.html | 322 ...-Broker-Concepts-RemoteReplicationNodes.html | 145 ++ .../Java-Broker-Concepts-Virtualhost-Nodes.html | 150 ++ .../book/Java-Broker-Concepts-Virtualhosts.html | 158 ++ .../java-broker/book/Java-Broker-Concepts.html | 168 ++ ...Java-Broker-Getting-Started-CommandLine.html | 201 +++ .../Java-Broker-Getting-Started-Logging.html| 147 ++ ...-Getting-Started-Starting-Stopping-Unix.html | 156 ++ ...tting-Started-Starting-Stopping-Windows.html | 156 ++ .../book/Java-Broker-Getting-Started.html | 151 ++ .../Java-Broker-High-Availability-Backup.html | 145 ++ ...Java-Broker-High-Availability-Behaviour.html | 220 +++ ...Broker-High-Availability-ClientFailover.html | 148 ++ ...-Broker-High-Availability-CreatingGroup.html | 182 +++ ...Java-Broker-High-Availability-DiskSpace.html | 147 ++ ...-High-Availability-Network-Requirements.html | 148 ++ ...Broker-High-Availability-NodeOperations.html | 164 ++ ...a-Broker-High-Availability-OverviewOfHA.html | 169 ++ ...h-Availability-Reset-Group-Infomational.html | 151 ++ .../Java-Broker-High-Availability-Security.html | 146 ++ .../book/Java-Broker-High-Availability.html | 153 ++ ...-Configuration-Configuration-Properties.html | 167 ++ ...ial-Configuration-Create-Initial-Config.html | 159 ++ ...va-Broker-Initial-Configuration-Example.html | 233 +++ ...l-Configuration-Initial-Config-Location.html | 154 ++ ...a-Broker-Initial-Configuration-Location.html | 151 ++ .../Java-Broker-Initial-Configuration-Type.html | 161 ++ .../book/Java-Broker-Initial-Configuration.html | 154 ++ .../book/Java-Broker-Installation-Download.html | 146 ++ ...va-Broker-Installation-InstallationUnix.html | 168 ++ ...Broker-Installation-InstallationWindows.html | 169 ++ ...roker-Installation-OptionalDependencies.html | 146 ++ .../Java-Broker-Installation-Prerequistes.html | 163 ++ .../book/Java-Broker-Installation.html | 145 ++ .../book/Java-Broker-Introduction.html | 150 ++ ...oker-Management-Channel-AMQP-Intrinstic.html | 146 ++ .../Java-Broker-Management-Channel-QMF.html | 144 ++ ...Java-Broker-Management-Channel-REST-API.html | 409 + ...a-Broker-Management-Channel-Web-Console.html | 191 +++ .../book/Java-Broker-Management-Channel.html| 156 ++ ...ement-Managing-Access-Control-Providers.html | 146 ++ ...ement-Managing-Authentication-Providers.html | 163 ++ .../Java-Broker-Management-Managing-Broker.html | 171 ++ ...va-Broker-Management-Managing-Consumers.html | 151 ++ ...ker-Management-Managing-Entities-Matrix.html | 145 ++ ...ava-Broker-Management-Managing-Entities.html | 165 ++ ...va-Broker-Management-Managing-Exchanges.html
[38/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html new file mode 100644 index 000..0deab56 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Appendix-Operation-Logging.html @@ -0,0 +1,565 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +AppendixC.Operational Logging - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for JavaAppendixC.Operational Logging + + + AppendixC.Operational LoggingPrevNextAppendixC.Operational LoggingThe Broker will, by default, produce structured log messages in response to key events in +the lives of objects within the Broker. These concise messages are designed to allow the user to +understand the actions of the Broker in retrospect. This is valuable for problem diagnosis and +provides a useful audit trail.Each log message includes details of the entity causing the action (e.g. a management user +or messaging client connection), the entity receiving the action (e.g. a queue or connection) +and a description of operation itself.The log messages have the following format: +[Actor] {[Subject]} [Message Id] [Message Text] + Where:Actor is the entity within the Broker that is + performing the action. There are actors corresponding to the Broker +itself, Management, Connection, and Channels. Their format is described in the table below.Subject (optional) is the entity within the Broker that is + receiving the action. There are subjects corresponding to the +Connections, Channels, Queues, Exchanges, Subscriptions, and Message Stores. Their format is +described in the table below.Some actions are reflexive, in these cases the Actor and Subject will be equal.Message Id is an identifier for the type of message. It has the form +three alphas and four digits separated by a hyphen AAA-.Message Text is a textual descriptionTo illustrate, let's look at two examples.CON-1001 is used when a messages client makes an AMQP connection. The +connection actor (con) provides us with details of the peer's connection: the +user id used by the client (myapp1), their IP, ephemeral port number and the name of the virtual +host. The message text itself gives us further details about the connection: the client id, the +protocol version in used, and details of the client's qpid library.[con:8(myapp1@/127.0.0.1:52851/default)] CON-1001 : Open : Destination : AMQP(127.0.0.1:5672) : +Protocol Version : 0-10 : Client ID : myapp1 : Client Version : 7.0.0-SNAPSHOT : Client Product : qpidQUE-1001 is used when a queue is created. The connection actor + con tells us details of the connection performing the queue creation: the +user id used by the client (myapp1), the IP, ephemeral port number and the name of the virtual +host. The queue subject tells use the queue's name (myqueue) and the virtualhost. The message +itself tells us more information about the queue that is being created. [con:8(myapp1@/127.0.0.1:52851/default)/ch:0] [vh(/default)/qu(myqueue)] QUE-1001 : Create : Owner: myapp1
[28/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Ports.html -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Ports.html b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Ports.html new file mode 100644 index 000..57f358d --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Ports.html @@ -0,0 +1,176 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +7.10.Ports - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Broker-J documentation snapshotApache Qpid Broker for Java7.10.Ports + + + 7.10.PortsPrevChapter7.Managing EntitiesNext7.10.PortsPorts provide TCP/IP connectivity for messaging and management. A port is defined to use a +protocol. This can be an AMQP protocol for messaging or HTTP for management.A port is defined to have one or more transports. A transport can either be plain (TCP) or +SSL (TLS). When SSL is in use, the port can be configured to accept or require client +authentication.Any number of ports defined to use AMQP or HTTP protocols can be defined.Ports can only be managed by the HTTP management channel.7.10.1.Context +qpid.port.max_open_connections. The default maximum number + of concurrent connections supported by an AMQP port.qpid.port.amqp.acceptBacklog. The backlog is the maximum +number of pending connections that may be queued by the AMQP port. Once the queue +is full, further connections will be refused. This is a request to the operating system +which may or may not be respected. The operating system itself may impose a ceiling. +[11] +7.10.2.AttributesName the port.Port number.Binding address. Used to limit port binding to a +single network interface.Authentication Provider. The authentication +provider used to authenticate incoming connections.Protocol(s). A list of protocols to be supported by +the port. For messaging choose one or more AMQP protocols. For management +choose HTTP.Transports. A list of transports supported by the +port. For messaging or HTTP management chose TCP, SSL or both.Enabled/Disabled Cipher Suites. Allows cipher +suites supported by the JVM to be enabled or disabled. The cipher +suite names are those understood by the JVM. +SSLv3 is disabled by default.Keystore. Keystore +containing the Broker's private key. Required if SSL is in use.Want/Need Client Auth. Client authentication can be +either accepted if offered (want), or demanded (need). When Client +Certificate Authentication is in use a Truststore must be configured. When +using Client Certificate Authentication it may be desirable to use the External Authentication +Provider.Truststore. Trust store +contain an issuer certificate or the public keys of the clients themselves +if peers only is desired.Maximum Open Connections. AMQP ports only.
[04/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg new file mode 100644 index 000..28ac5a0 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg @@ -0,0 +1,23 @@ + + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> +http://www.w3.org/2000/svg; xmlns:xl="http://www.w3.org/1999/xlink; version="1.1" viewBox="52 209 464 364" width="464pt" height="364pt">http://purl.org/dc/elements/1.1/;>2013-10-01 22:37ZCanv as 3Layer 1Producer AQpid Brokeramq.topic*.uksub3sub2news.uksub1news.#queuebinding_keysub1sub2sub3Producer BProducer CProducer Drouting_key=news.ukrouting_key=news.derouting_key=weather.ukrouting_key=weather.de< /g> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png new file mode 100644 index 000..7272949 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg new file mode 100644 index 000..568761a --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.svg @@ -0,0 +1,23 @@ + + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> +http://www.w3.org/2000/svg; xmlns:xl="http://www.w3.org/1999/xlink; version="1.1" viewBox="100 43 404 422" width="404pt" height="422pt">http://purl.org/dc/elements/1.1/;>2013-10-01 22:37ZCanv as 4Layer 1ProducerQpid Brokeramq.topicshippingspeed = 10storm_alertspeed 7 and speed 10area in ('Forties', 'Cromarty')area in ('Rockall', 'Malin')argumentsshippinggale_alertsub2shippingsub1shippingqueuebinding_keysub1sub2gale_alert{area = 'Rockall',speed = 5,visibility = 'Fair'}{area = 'Malin',speed = 6,visibility = 'Fair'}{area = 'Forties',speed = 7,visibility = 'Poor'}{area = 'Cromarty',speed = 8,visibility = 'Poor'}{area = 'Forth',speed = 6,visibility = 'Fog'}storm_alertrouting_key=ship ping http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png new file mode 100644 index 000..f631d73 Binary files /dev/null and b/input/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic.png differ - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[08/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html.in new file mode 100644 index 000..871c6c5 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Entities.html.in @@ -0,0 +1,22 @@ +Chapter7.Managing EntitiesPrevNextChapter7.Managing EntitiesTable of Contents7.1. General Description7.2. Entity/Management Channel Support Matrix7.3. Broker7.3.1. Attributes7.3.2. Context7.3.3. Children7.3.4. Lifecycle7.4. Virtualhost Nodes< a href="Java-Broker-Management-Managing-Virtualhost-Nodes.html#Java-Broker-Management-Managing-Virtualhost-Nodes-Types">7.4.1. Types7.4.2. Attributes7.4.3. Children7.4.4. Lifecycle7.5. VirtualHosts7.5.1. Types 7.5.2. Context7.5.3. Attributes7.5.4. Children7.5.5. Lifecycle7.6. Remote Replication Nodes7.6.1. Attributes7.6.2. Children7.6.3. Lifecycle7.6.4. Operations7.7. Exchanges7.7.1. Types7.7.2. Attributes7.7.3. Children7.7.4. Lifecycle7.8. Queues7.8.1. Types7.8.2. Attributes7.8.3. Childre n7.8.4. Lifecycle7.9. Consumers7.9.1. Context7.10. Ports7.10.1. Context7.10.2. Attributes7.10.3. Children7.10.4. Lifecycle7.11. Authentication Providers7.11.1. Types7.11.2. Attributes7.11.3. Children7.11.4. Lifecycle7.12. Keystores7.12.1. Types7.12.2. Attributes7.12.3. Children7.12.4. Lifecycle7.13. Truststores7.13.1. Types7.13.2. Attributes7.13.3. Children7.13.4. Lifecycle7.14. Group Providers7.15. Access Control Providers7.16. HTTP Plugin7.16.1. Attributes7.16.2. Children7.16.3. LifecycleThis section describes how to manage entities within the Broker. The principles underlying +entity management are the same regardless of entity type. For this reason, this section begins +with a general description that applies to all.Since not all channels support the management of all entity type, this section commences +with a table showing which entity type is supported by each channel.7.1.General DescriptionThe following description applies to all entities within the Broker regardless of their + type. + All entities have a parent, and may have children. The parent of the Broker is +called the System Context. It has no parent.Entities have one or more attributes. For example a name, an + id or a maximumQueueDepthEntities can be durable or non-durable. Durable entities survive a restart. +Non-durable entities will not.Attributes may have a default value. If an attribute value is not specified the +default value is used.Attributes values can be expressed as a simple value (e.g. myName +or 1234), in terms of context variables + (e.g.${foo} or /data/${foo}/).Each entity has zero or more context variables.The System Context entity (the ultimate ancestor of all object) has a context too. +It is read only and is populated with all Java System Properties. Thus it can be +influenced from the Broker's external environment. See QPID_OPTS +environment variable.When resolving an attribute's value, if the value contains a variable + (e.g.${foo}), the variable is first resolved using the entity's own +context variables. If the entity has no definition for the context variable, the +entity's parent is tried, then its grandparent and so forth, all the way until the +SystemContext is reached.Some entities support state and have a lifecycle. +What follows now is a section dedicated to each entity type. For each entity type key + features are described along with the entities key attributes, key context variables, details + of the entities lifecycle and any other operations.PrevNext6.5.QMFHome7.2.Entity/Management Channel Support Matrix \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Exchanges.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Exchanges.html.in b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Exchanges.html.in new file mode 100644 index 000..3dc1eec --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/Java-Broker-Management-Managing-Exchanges.html.in @@ -0,0 +1,6 @@ +7.7.ExchangesPrevChapter7.Managing EntitiesNext7.7.ExchangesExchanges can be managed using the +HTTP
[18/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp.html -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp.html b/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp.html deleted file mode 100755 index 89d5822..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp.html +++ /dev/null @@ -1,149 +0,0 @@ -http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> -http://www.w3.org/1999/xhtml;> - - - - -Qpid Proton C++ API: /tmp/jross/transom/qpid-proton-0.13.0/examples/cpp/broker.hpp File Reference - - - - - - - - - $(document).ready(initResizable); - $(window).load(resizeHeight); - - - - - - $(document).ready(function() { init_search(); }); - - - - - - - - - - - Qpid Proton C++ API - 0.13.0 - - - - - - - - - - - - - - - - - - -var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - -$(document).ready(function(){initNavTree('broker_8hpp.html','');}); - - - - - - - - - - - - - - -Classes - -broker.hpp File Reference - - - -Common code used by different broker examples. -More... -#include proton/connection.hpp -#include proton/delivery.hpp -#include proton/messaging_handler.hpp -#include proton/message.hpp -#include proton/sasl.hpp -#include proton/sender.hpp -#include proton/tracker.hpp -#include proton/transport.hpp -#include proton/sender_options.hpp -#include proton/receiver_options.hpp -#include proton/source_options.hpp -#include proton/target_options.hpp -#include iostream -#include deque -#include map -#include list -#include sstream -#include proton/config.hpp - -Go to the source code of this file. - - -Classes -class queue -A simple implementation of a queue. More... - -class queues -A collection of queues and queue factory, used by a broker. More... - -class broker_handler -Common handler logic for brokers. More... - - -Detailed Description -Common code used by different broker examples. -The examples add functionality as needed, this helps to make it easier to see the important differences between the examples. - - - - - -examplescppbroker.hpp -Generated by -http://www.doxygen.org/index.html;> - 1.8.10 - - - - http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp_source.html -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp_source.html b/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp_source.html deleted file mode 100755 index 48a2e99..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/broker_8hpp_source.html +++ /dev/null @@ -1,366 +0,0 @@ -http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> -http://www.w3.org/1999/xhtml;> - - - - -Qpid Proton C++ API: /tmp/jross/transom/qpid-proton-0.13.0/examples/cpp/broker.hpp Source File - - - - - - - - - $(document).ready(initResizable); - $(window).load(resizeHeight); - - - - - - $(document).ready(function() { init_search(); }); - - - - - - - - - - - Qpid Proton C++ API - 0.13.0 - - - - - - - - - - - - - - - - - - -var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - -$(document).ready(function(){initNavTree('broker_8hpp_source.html','');}); - - - - - - - - - - - - - - -broker.hpp - - -Go to the documentation of this file. 1#ifndef BROKER_HPP - 2#define BROKER_HPP - 3 - 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 29 - 30#include proton/connection.hpp - 31#include proton/delivery.hpp - 32#include proton/messaging_handler.
[16/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
ml", null ], -[ "task.hpp", "task_8hpp_source.html", null ], -[ "terminus.hpp", "terminus_8hpp_source.html", null ], -[ "thread_safe.hpp", "thread__safe_8hpp_source.html", null ], -[ "timestamp.hpp", "timestamp_8hpp_source.html", null ], -[ "tracker.hpp", "tracker_8hpp_source.html", null ], -[ "transfer.hpp", "transfer_8hpp_source.html", null ], -[ "transport.hpp", "transport_8hpp_source.html", null ], - [ "type_id.hpp", "type__id_8hpp.html", "type__id_8hpp" ], -[ "types.hpp", "types_8hpp.html", null ], -[ "types_fwd.hpp", "types__fwd_8hpp.html", null ], -[ "url.hpp", "url_8hpp_source.html", null ], -[ "uuid.hpp", "uuid_8hpp_source.html", null ], -[ "value.hpp", "value_8hpp_source.html", null ] -]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.html -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.html b/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.html deleted file mode 100755 index a16caee..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.html +++ /dev/null @@ -1,114 +0,0 @@ -http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> -http://www.w3.org/1999/xhtml;> - - - - -Qpid Proton C++ API: /tmp/jross/transom/qpid-proton-0.13.0/examples Directory Reference - - - - - - - - - $(document).ready(initResizable); - $(window).load(resizeHeight); - - - - - - $(document).ready(function() { init_search(); }); - - - - - - - - - - - Qpid Proton C++ API - 0.13.0 - - - - - - - - - - - - - - - - - - -var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - -$(document).ready(function(){initNavTree('dir_4d8692bc36455c9e8f279d1418e9c377.html','');}); - - - - - - - - - - - - - - -examples Directory Reference - - - - -Directories -directory cpp - - - - - - - -examples -Generated by -http://www.doxygen.org/index.html;> - 1.8.10 - - - - http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.js -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.js b/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.js deleted file mode 100755 index 8df0c71..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_4d8692bc36455c9e8f279d1418e9c377.js +++ /dev/null @@ -1,4 +0,0 @@ -var dir_4d8692bc36455c9e8f279d1418e9c377 = -[ -[ "cpp", "dir_68dbebc2d4ee9a03f43003df514bee59.html", "dir_68dbebc2d4ee9a03f43003df514bee59" ] -]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_66a3d6d4a49ec68a9ce2464fe0217199.html -- diff --git a/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_66a3d6d4a49ec68a9ce2464fe0217199.html b/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_66a3d6d4a49ec68a9ce2464fe0217199.html deleted file mode 100755 index da300b8..000 --- a/content/releases/qpid-proton-0.13.0/proton/cpp/api/dir_66a3d6d4a49ec68a9ce2464fe0217199.html +++ /dev/null @@ -1,126 +0,0 @@ -http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> -http://www.w3.org/1999/xhtml;> - - - - -Qpid Proton C++ API: proton/internal Directory Reference - - - - - - - - - $(document).ready(initResizable); - $(window).load(resizeHeight); - - - - - - $(document).ready(function() { init_search(); }); - - - - - - - - - - - Qpid Proton C++ API - 0.13.0 - - - - - - - - - - - - - - - - - - -var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - -$(document).ready(function(){initNavTree('dir_66a3d6d4a49ec68a9ce2464fe0217199.html','');}); - - - - - - - - - - - - - - -internal Directory Reference - - - - -Files -file comparable.hpp [code] - -file config.hpp [code] - -file export.hpp [code] - -file object.hpp [code] - -file pn_unique_ptr.hpp [code] - -file
[01/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
Repository: qpid-site Updated Branches: refs/heads/asf-site f3f5c10b2 -> 32dce6b5a http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/scripts/gen-jms-amqp-0-x-release-page -- diff --git a/scripts/gen-jms-amqp-0-x-release-page b/scripts/gen-jms-amqp-0-x-release-page new file mode 100755 index 000..98e6d27 --- /dev/null +++ b/scripts/gen-jms-amqp-0-x-release-page @@ -0,0 +1,198 @@ +#!/usr/bin/python +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +from generate import * + +from datetime import datetime + +download_records = ( +("apache-qpid-jms-amqp-0-x-{}-bin.tar.gz", "Qpid JMS binaries"), +("apache-qpid-jms-amqp-0-x-{}-src.tar.gz", "Qpid JMS source code"), +) + +documentation = \ +""" + + + - [API reference](http://docs.oracle.com/javaee/7/api/javax/jms/package-summary.html) + + +""" + +template = \ +""" +;; +;; Licensed to the Apache Software Foundation (ASF) under one +;; or more contributor license agreements. See the NOTICE file +;; distributed with this work for additional information +;; regarding copyright ownership. The ASF licenses this file +;; to you under the Apache License, Version 2.0 (the +;; "License"); you may not use this file except in compliance +;; with the License. You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, +;; software distributed under the License is distributed on an +;; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +;; KIND, either express or implied. See the License for the +;; specific language governing permissions and limitations +;; under the License. +;; + +# Qpid JMS for AMQP 0-x {release} + +Qpid JMS for AMQP 0-x is XXX. + +For a detailed list of the changes in this release, see the [release +notes](release-notes.html). + +[jms]: http://en.wikipedia.org/wiki/Java_Message_Service + +## Download + +It's important to [verify the +integrity](site_url/download.html#verify-what-you-download) of the +files you download. + +| Content | Download | Verify | +|-|--|| +{downloads} + +The client is also available [via Maven](site_url/maven.html). + +## Documentation + +{documentation} + +## More information + + - [All release artefacts](http://archive.apache.org/dist/qpid/jms-amqp-0-x/{release}) + - [Resolved issues in JIRA]({issues_url}) + - [Source repository tag](https://git-wip-us.apache.org/repos/asf/qpid-jms-amqp-0-x.git/tree/refs/tags/{source_release}) + + + _deferredFunctions.push(function() {{ + if ("{release}" === "current_jms_amqp_0_x_release") {{ + _modifyCurrentReleaseLinks(); + }} + }}); + +""" + +def gen_release_page(release, issues_release, source_release, release_dir): +output_path = join(release_dir, "index.md") + +downloads = list() +components = list() + +artifact_url_template = "http://archive.apache.org/dist/qpid/jms-amqp-0-x/{}/{}; + +for artifact, summary in download_records: +artifact = artifact.format(release) +artifact_url = artifact_url_template.format(release, artifact) +asc_url = "{}.asc".format(artifact_url) +md5_url = "{}.md5".format(artifact_url) +sha_url = "{}.sha".format(artifact_url) + +args = summary, artifact, artifact_url, asc_url, md5_url, sha_url +downloads.append("| {} | [{}]({}) | [ASC]({}), [MD5]({}), [SHA512]({}) |".format(*args)) + +downloads = "\n".join(downloads) + +jql = "project = QPID AND fixVersion = '{}' AND resolution = 'fixed' ORDER BY priority DESC".format(issues_release) +issues_url = "https://issues.apache.org/jira/issues/?jql={}".format(urllib.quote_plus(jql)) + +vars = locals() +vars["documentation"] = documentation.format(release=release, source_release=source_release) + +output = template.format(**vars) +output = output.strip() + +write(output_path, output) + +master_template = """ +;; +;; Licensed to the Apache Software Foundation (ASF) under one +;; or more contributor license agreements. See the NOTICE file +;; distributed with this work for additional information
[14/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/_transom_config.py -- diff --git a/input/_transom_config.py b/input/_transom_config.py index 2fec12d..5df54c7 100644 --- a/input/_transom_config.py +++ b/input/_transom_config.py @@ -19,11 +19,13 @@ class _Release(object): qpid_release = _Release("Qpid", "qpid", "0.32") +broker_j_release = _Release("Qpid Broker-J", "qpid-broker-j", "6.2.0") cpp_release = _Release("Qpid C++", "qpid-cpp", "1.36.0") dispatch_release = _Release("Qpid Dispatch", "qpid-dispatch", "0.7.0") interop_test_release = _Release("Qpid Interop Test", "qpid-interop", "0.1.0") java_release = _Release("Qpid for Java", "qpid-java", "6.1.2") jms_release = _Release("Qpid JMS", "qpid-jms", "0.22.0") +jms_amqp_0_x_release = _Release("Qpid JMS for AMQP 0-x", "qpid-jms-amqp-0-x", "6.2.0") proton_release = _Release("Qpid Proton", "qpid-proton", "0.17.0") proton_j_release = _Release("Qpid Proton-J", "qpid-proton-j", "0.18.0") python_release = _Release("Qpid Python", "qpid-python", "1.36.0") @@ -35,6 +37,10 @@ current_release_url = qpid_release.url current_release_link = qpid_release.link current_release_tag = "{}/tags/{}".format(_svn_base, qpid_release.number) +current_broker_j_release = broker_j_release.number +current_broker_j_release_url = broker_j_release.url +current_broker_j_release_link = broker_j_release.link + current_cpp_release = cpp_release.number current_cpp_release_url = cpp_release.url current_cpp_release_link = cpp_release.link @@ -55,6 +61,10 @@ current_jms_release = jms_release.number current_jms_release_url = jms_release.url current_jms_release_link = jms_release.link +current_jms_amqp_0_x_release = jms_amqp_0_x_release.number +current_jms_amqp_0_x_release_url = jms_amqp_0_x_release.url +current_jms_amqp_0_x_release_link = jms_amqp_0_x_release.link + current_proton_release = proton_release.number current_proton_release_url = proton_release.url current_proton_release_link = proton_release.link http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/index.md -- diff --git a/input/releases/qpid-broker-j-master/index.md b/input/releases/qpid-broker-j-master/index.md new file mode 100644 index 000..8f2fc23 --- /dev/null +++ b/input/releases/qpid-broker-j-master/index.md @@ -0,0 +1,47 @@ +;; +;; Licensed to the Apache Software Foundation (ASF) under one +;; or more contributor license agreements. See the NOTICE file +;; distributed with this work for additional information +;; regarding copyright ownership. The ASF licenses this file +;; to you under the Apache License, Version 2.0 (the +;; "License"); you may not use this file except in compliance +;; with the License. You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, +;; software distributed under the License is distributed on an +;; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +;; KIND, either express or implied. See the License for the +;; specific language governing permissions and limitations +;; under the License. +;; + +# Qpid Broker-J documentation snapshot + + + +## Warning! This is a snapshot of work in progress + +Documentation found here may be incorrect or incomplete. For a +smoother experience, see the [current stable +release]({{current_broker_j_release_url}}/index.html). + +This content was generated at 12:03 on Wednesday, 26 April 2017. + + + +## Documentation + + + + + - [Installing Qpid Broker-J](java-broker/book/Java-Broker-Installation.html) + - [Broker book](java-broker/book/index.html) + + + + +## More information + + - [Source repository](https://git-wip-us.apache.org/repos/asf/qpid-broker-j.git) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/input/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html.in -- diff --git a/input/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html.in b/input/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html.in new file mode 100644 index 000..b79ff93 --- /dev/null +++ b/input/releases/qpid-broker-j-master/java-broker/book/AMQP-Messaging-Broker-Java-Book.html.in @@ -0,0 +1,8 @@ +Apache Qpid Broker for JavaNextApache Qpid Broker for JavaTable of Contents1. Introduction2. Installation2.1. Introduction2.2. Prerequisites2.2.1. Java Platform2.2.2. Disk2.2.3. Memory2.2.4. Operating System Account2.3. Download2.3.1. Broker Release2.4. Installation on Windows2.4.1. Setting the working directory2.5. Installation on UNIX platforms2.5.1. Setting the working directory2.6. Optional Dependencies3. Getting Started3.1.
[23/40] qpid-site git commit: QPID-7756: Simplify release scripts and add some for new components
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Fanout.svg -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Fanout.svg b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Fanout.svg new file mode 100755 index 000..2768886 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Fanout.svg @@ -0,0 +1,23 @@ + + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> +http://www.w3.org/2000/svg; xmlns:xl="http://www.w3.org/1999/xlink; version="1.1" viewBox="139 112 321 304" width="321pt" height="304pt">http://purl.org/dc/elements/1.1/;>2013-10-01 22:37ZCanvas 5Layer 1ProducerQpid Brokeramq.fanoutsub1sub2sub3 http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.png -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.png b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.png new file mode 100755 index 000..faa7507 Binary files /dev/null and b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg new file mode 100755 index 000..28ac5a0 --- /dev/null +++ b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-Hierarchical.svg @@ -0,0 +1,23 @@ + + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> +http://www.w3.org/2000/svg; xmlns:xl="http://www.w3.org/1999/xlink; version="1.1" viewBox="52 209 464 364" width="464pt" height="364pt">http://purl.org/dc/elements/1.1/;>2013-10-01 22:37ZCanv as 3Layer 1Producer AQpid Brokeramq.topic*.uksub3sub2news.uksub1news.#queuebinding_keysub1sub2sub3Producer BProducer CProducer Drouting_key=news.ukrouting_key=news.derouting_key=weather.ukrouting_key=weather.de< /g> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/32dce6b5/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png -- diff --git a/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png new file mode 100755 index 000..7272949 Binary files /dev/null and b/content/releases/qpid-broker-j-master/java-broker/book/images/Exchange-Topic-JMSSelector.png differ - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-cpp git commit: QPID-7629: Use the CMake SYSTEM keyword when including headers for nss and sasl
Repository: qpid-cpp Updated Branches: refs/heads/master 874ecfaa2 -> f04bc169f QPID-7629: Use the CMake SYSTEM keyword when including headers for nss and sasl Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/f04bc169 Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/f04bc169 Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/f04bc169 Branch: refs/heads/master Commit: f04bc169f11c99be50399341905186b3405a3130 Parents: 874ecfa Author: Justin RossAuthored: Thu Mar 23 05:53:51 2017 -0700 Committer: Justin Ross Committed: Thu Mar 23 05:53:51 2017 -0700 -- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/f04bc169/src/CMakeLists.txt -- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7bc6f2c..6ee474f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -371,7 +371,7 @@ if (BUILD_SASL) qpid/sys/cyrus/CyrusSecurityLayer.h qpid/sys/cyrus/CyrusSecurityLayer.cpp ) - include_directories (${CYRUS_SASL_INCLUDE_DIR}) + include_directories (SYSTEM ${CYRUS_SASL_INCLUDE_DIR}) set(sasl_LIB ${CYRUS_SASL_LIBRARY}) set(HAVE_SASL 1) else (BUILD_SASL) @@ -451,7 +451,7 @@ if (BUILD_SSL) # Add include directories and link directories for NSS # unfortunately this doesn't get done automatically for # libraries detected by FindPkgConfig - include_directories(${ssl_INCLUDES}) + include_directories(SYSTEM ${ssl_INCLUDES}) link_directories(${ssl_LIBDIRS}) endif (BUILD_SSL) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[2/2] qpid-cpp git commit: QPID-7629: Revert the use of SYSTEM for now; there is a concern that it will impact portability
QPID-7629: Revert the use of SYSTEM for now; there is a concern that it will impact portability Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/93dfd397 Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/93dfd397 Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/93dfd397 Branch: refs/heads/master Commit: 93dfd397bcf2cdf425a162d93c0c4a09b0ba5522 Parents: 2a3fd56 Author: Justin RossAuthored: Wed Mar 22 05:39:16 2017 -0700 Committer: Justin Ross Committed: Wed Mar 22 05:41:13 2017 -0700 -- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/93dfd397/src/CMakeLists.txt -- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6ee474f..7bc6f2c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -371,7 +371,7 @@ if (BUILD_SASL) qpid/sys/cyrus/CyrusSecurityLayer.h qpid/sys/cyrus/CyrusSecurityLayer.cpp ) - include_directories (SYSTEM ${CYRUS_SASL_INCLUDE_DIR}) + include_directories (${CYRUS_SASL_INCLUDE_DIR}) set(sasl_LIB ${CYRUS_SASL_LIBRARY}) set(HAVE_SASL 1) else (BUILD_SASL) @@ -451,7 +451,7 @@ if (BUILD_SSL) # Add include directories and link directories for NSS # unfortunately this doesn't get done automatically for # libraries detected by FindPkgConfig - include_directories(SYSTEM ${ssl_INCLUDES}) + include_directories(${ssl_INCLUDES}) link_directories(${ssl_LIBDIRS}) endif (BUILD_SSL) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[1/2] qpid-cpp git commit: QPID-7714: Suppress very verbose warnings
Repository: qpid-cpp Updated Branches: refs/heads/master 2a3fd5630 -> 874ecfaa2 QPID-7714: Suppress very verbose warnings Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/874ecfaa Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/874ecfaa Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/874ecfaa Branch: refs/heads/master Commit: 874ecfaa2c168e211ee1f250d880e9d06cbad8ef Parents: 93dfd39 Author: Justin RossAuthored: Wed Mar 22 05:41:08 2017 -0700 Committer: Justin Ross Committed: Wed Mar 22 05:41:13 2017 -0700 -- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/874ecfaa/CMakeLists.txt -- diff --git a/CMakeLists.txt b/CMakeLists.txt index 990c200..180b41d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL GNU) # -Wunreachable-code -Wpadded -Winline # -Wshadow - warns about boost headers. set (WARNING_FLAGS - "-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -Wno-error=deprecated-declarations") + "-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -Wno-deprecated-declarations") if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7) message("FIXME FLAGGING") @@ -160,7 +160,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL GNU) set (CATCH_UNDEFINED "") endif (CMAKE_SYSTEM_NAME STREQUAL SunOS) set (NOSTRICT_ALIASING "-fno-strict-aliasing") - set (COMPILER_FLAGS "-fvisibility-inlines-hidden -std=gnu++03") + set (COMPILER_FLAGS "-fvisibility-inlines-hidden") # gcc 4.1.2 on RHEL 5 needs -Wno-attributes to avoid an error that's fixed # in later gcc versions. execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-python git commit: QPID-7691: Update the version after release
Repository: qpid-python Updated Branches: refs/heads/1.36.x a76339493 -> f9334dbff QPID-7691: Update the version after release Project: http://git-wip-us.apache.org/repos/asf/qpid-python/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-python/commit/f9334dbf Tree: http://git-wip-us.apache.org/repos/asf/qpid-python/tree/f9334dbf Diff: http://git-wip-us.apache.org/repos/asf/qpid-python/diff/f9334dbf Branch: refs/heads/1.36.x Commit: f9334dbff806b62ead01733c744d7a9d319467b3 Parents: a763394 Author: Justin RossAuthored: Thu Mar 16 08:48:36 2017 -0700 Committer: Justin Ross Committed: Thu Mar 16 08:48:36 2017 -0700 -- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/qpid-python/blob/f9334dbf/setup.py -- diff --git a/setup.py b/setup.py index ff4215c..c2d4568 100755 --- a/setup.py +++ b/setup.py @@ -303,7 +303,7 @@ if platform.system() == "Windows": scripts.append("qpid-python-test.bat") setup(name="qpid-python", - version="1.36.0-SNAPSHOT", + version="1.36.1-SNAPSHOT", author="Apache Qpid", author_email="us...@qpid.apache.org", packages=["mllib", "qpid", "qpid.messaging", "qpid.tests", - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[qpid-python] Git Push Summary
Repository: qpid-python Updated Tags: refs/tags/1.36.0 [created] 943db7486 - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
svn commit: r18761 - /release/qpid/python/1.35.0/
Author: jross Date: Thu Mar 16 15:35:06 2017 New Revision: 18761 Log: QPID-7691: Remove the previous release Removed: release/qpid/python/1.35.0/ - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-site git commit: QPID-7697: Correct some broken links
Repository: qpid-site Updated Branches: refs/heads/asf-site 55375a760 -> 2b3f59b79 QPID-7697: Correct some broken links Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/2b3f59b7 Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/2b3f59b7 Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/2b3f59b7 Branch: refs/heads/asf-site Commit: 2b3f59b79f9c165c35f3c44514294c0c722f1024 Parents: 55375a7 Author: Justin RossAuthored: Thu Mar 16 08:31:16 2017 -0700 Committer: Justin Ross Committed: Thu Mar 16 08:31:16 2017 -0700 -- content/dashboard.html | 2 +- content/download.html | 2 +- input/dashboard.md | 2 +- input/download.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2b3f59b7/content/dashboard.html -- diff --git a/content/dashboard.html b/content/dashboard.html index 08d3c67..e595867 100644 --- a/content/dashboard.html +++ b/content/dashboard.html @@ -147,7 +147,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> C++ - https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20in%20(%22C%2B%2B%20Broker%22%2C%20%22C%2B%2B%20Client%22%2C%20%22C%2B%2B%20Clustering%22%2C%20%22Dot%20Net%20Client%22%2C%20%22Perl%20Client%22%2C%20%22Python%20Tools%22%2C%20%22Qpid%20Managment%20Framework%22%2C%20%22Ruby%20Client%22)%20ORDER%20BY%20priority%20DESC">Open issues https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520issuetype=1components=12311395components=12311396summary=[Enter%20a%20brief%20description]priority=3;>New bug https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520issuetype=4components=12311395components=12311396summary=[Enter%20a%20brief%20description]priority=3;>New improvement + https://issues.apache.org/jira/issues/?jql=project%20%3D%20QPID%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20in%20(%22C%2B%2B%20Build%22%2C%20%22C%2B%2B%20Broker%22%2C%20%22C%2B%2B%20Client%22%2C%20%22C%2B%2B%20Clustering%22%2C%20%22C%2B%2B%20Documentation%22%2C%20%22C%2B%2B%20Examples%22%2C%20%22C%2B%2B%20Tests%22%2C%20%22C%2B%2B%20Tools%22%2C%20%22.NET%20Client%22%2C%20%22Python%20Client%20(Wrapped)%22%2C%20%22QMF%22%2C%20%22Ruby%20Client%22)%20ORDER%20BY%20priority%20DESC">Open issues https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520issuetype=1components=12311395components=12311396summary=[Enter%20a%20brief%20description]priority=3;>New bug https://issues.apache.org/jira/secure/CreateIssueDetails!init.jspa?pid=12310520issuetype=4components=12311395components=12311396summary=[Enter%20a%20brief%20description]priority=3;>New improvem ent https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-cpp-trunk-test/;>Linux https://git-wip-us.apache.org/repos/asf/qpid-cpp.git;>Git, https://github.com/apache/qpid-cpp;>GitHub mirror http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2b3f59b7/content/download.html -- diff --git a/content/download.html b/content/download.html index f14cc79..39b38ca 100644 --- a/content/download.html +++ b/content/download.html @@ -164,7 +164,7 @@ process. The downloads on this page are from our Qpid Messaging API (Python) http://www.apache.org/dyn/closer.lua/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz;>qpid-python-1.36.0.tar.gz - http://www.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.asc;>ASC, http://www.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.md5;>MD5, http://www.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.sha1;>SHA1 + http://www.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.asc;>ASC, http://www.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.md5;>MD5, http://www.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.sha;>SHA512 http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2b3f59b7/input/dashboard.md -- diff --git a/input/dashboard.md b/input/dashboard.md index 26adf5a..db95e3a 100644 --- a/input/dashboard.md +++ b/input/dashboard.md @@ -40,7 +40,7 @@ | Module | Issues | Test builds | Source code | | -- | -- | --- | --- | -| [C++]({{site_url}}/components/cpp-broker/index.html) | [Open
[22/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/examples/server.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/examples/server.html b/content/releases/qpid-python-1.36.0/messaging-api/examples/server.html new file mode 100644 index 000..85ef12e --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/examples/server.html @@ -0,0 +1,224 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en"> + +server - Apache Qpid + + + + +var _deferredFunctions = []; + + + + +https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + + + + + + + + + + Apache Qpid + Documentation + Download + Discussion + + + + + + +Project + + + Overview + Components + Releases + + + + +Messaging APIs + + + Qpid Proton + Qpid JMS + Qpid Messaging API + + + + +Servers and tools + + + Broker for Java + C++ broker + Dispatch router + + + + +Resources + + + Dashboard + https://cwiki.apache.org/confluence/display/qpid/Index;>Wiki + More resources + + + + + + +http://www.google.com/search; method="get"> + + + Search + More ways to search + + + + +HomeReleasesQpid Python 1.36.0Python Messaging API Examplesserver + + + +server +import optparse, sys, traceback +from qpid.messaging import * +from qpid.util import URL +from subprocess import Popen, STDOUT, PIPE +from qpid.log import enable, DEBUG, WARN + +parser = optparse.OptionParser(usage=usage: %prog [options] ADDRESS ..., + description=handle requests from the supplied address.) +parser.add_option(-b, --broker, default=localhost, + help=connect to specified BROKER (default %default)) +parser.add_option(-r, --reconnect, action=store_true, + help=enable auto reconnect) +parser.add_option(-i, --reconnect-interval, type=float, default=3, + help=interval between reconnect attempts) +parser.add_option(-l, --reconnect-limit, type=int, + help=maximum number of reconnect attempts) +parser.add_option(-v, dest=verbose, action=store_true, + help=enable logging) + +opts, args = parser.parse_args() + +if opts.verbose: + enable(qpid, DEBUG) +else: + enable(qpid, WARN) + +if args: + addr = args.pop(0) +else: + parser.error(address is required) + +conn = Connection(opts.broker, + reconnect=opts.reconnect, + reconnect_interval=opts.reconnect_interval, + reconnect_limit=opts.reconnect_limit) +def dispatch(msg): + msg_type = msg.properties.get(type) + if msg_type == shell: +proc = Popen(msg.content, shell=True, stderr=STDOUT, stdin=PIPE, stdout=PIPE) +output, _ = proc.communicate() +result = Message(output) +result.properties[exit] = proc.returncode + elif msg_type == eval: +try: + content = eval(msg.content) +except: + content = traceback.format_exc() +result = Message(content) + else: +result = Message(unrecognized message type: %s % msg_type) + return result + +try: + conn.open() + ssn = conn.session() + rcv = ssn.receiver(addr) + + while True: +msg = rcv.fetch() +response = dispatch(msg) +snd = None +try: + snd = ssn.sender(msg.reply_to) + snd.send(response) +except SendError, e: + print e +if snd is not None: + snd.close() +ssn.acknowledge() +except ReceiverError, e: + print e +except KeyboardInterrupt: + pass + +conn.close() + + +Download this file + + + + + +http://www.apache.org/;>Apache +http://www.apache.org/licenses/;>License +http://www.apache.org/foundation/sponsorship.html;>Sponsorship +http://www.apache.org/foundation/thanks.html;>Thanks! +Security +http://www.apache.org/;> + + + +Apache Qpid, Messaging built on AMQP; Copyright 2015 +The Apache Software Foundation; Licensed under +the http://www.apache.org/licenses/LICENSE-2.0;>Apache +License, Version 2.0; Apache Qpid, Qpid, Qpid
[19/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html b/input/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html new file mode 100644 index 000..e115ae4 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html @@ -0,0 +1,1095 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + Identifier Index + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + + + +[frames]|noframes] + + + + +[ + Identifiers +| Deprecations +] + + +Identifier Index + +[ + A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + V + W + X + Y + Z + _ +] + + +A + + + +abort() +(inDriver) +AMQP_PORT +(inqpid.messaging.constants) +attached() +(inConnection) + + +acknowledge() +(inSession) +AMQPS_PORT +(inqpid.messaging.constants) +Attachment +(inqpid.messaging.driver) + + +addr2reply_to() +(inqpid.messaging.driver) +apply_overrides() +(inSessionState) +AuthenticationFailure +(inqpid.messaging.exceptions) + + +ADDR_NAME +(inLinkIn) +AssertionFailed +(inqpid.messaging.exceptions) +auto_fetch_reconnect_urls() +(inqpid.messaging.util) + + +ADDR_NAME +(inLinkOut) +assign_id() +(inEngine) +available() +(inReceiver) + + +address +(inqpid.messaging) +attach() +(inEngine) +available() +(inSender) + + +AddressError +(inqpid.messaging.exceptions) +attach() +(inConnection) + + + + +B + + + +bases +(inqpid.messaging.driver) +BINDINGS +(inqpid.messaging.driver) + + + + + +C + + + +Cache +(inqpid.messaging.driver) +close() +(inReceiver) +connect() +(inDriver) + + +capacity +(inReceiver) +close() +(inSender) +ConnectError +(inqpid.messaging.exceptions) + + +check_closed() +(inConnection) +close() +(inSession) +Connection +(inqpid.messaging.endpoints) + + +check_closed() +(inReceiver) +close() +(inold_ssl) +CONNECTION_ERRS +(inqpid.messaging.driver) + + +check_closed() +(inSender) +close() +(intcp) +ConnectionClosed +(inqpid.messaging.exceptions) + + +check_closed() +(inSession) +close() +(intls) +ConnectionError +(inqpid.messaging.exceptions) + + +check_error() +(inConnection) +close_engine() +(inDriver) +Constant +(inqpid.messaging.constants) + + +check_error() +(inReceiver) +CLOSED +(inqpid.messaging.driver) +CONSTANTS +(inqpid.messaging.address) + + +check_error() +(inSender) +COLON +(inqpid.messaging.address) +constants +(inqpid.messaging) + + +check_error() +(inSession) +COMMA +(inqpid.messaging.address) +ContentError +(inqpid.messaging.exceptions) + + +close() +(inEngine) +commit() +(inSession) + + + +close() +(inConnection) +COMMON_OPTS +(inqpid.messaging.driver) + + + + +D + + + +DECLARE +(inqpid.messaging.driver) +dispatch() +(inEngine) +do_message_transfer() +(inEngine) + + +declare() +(inEngine) +Disposition +(inqpid.messaging.message) +do_session_attached() +(inEngine) + + +DecodeError +(inqpid.messaging.exceptions) +do_connection_close() +(inEngine) +do_session_command_point() +(inEngine) + + +DEFAULT_CODEC +(inqpid.messaging.message) +do_connection_close_ok() +(inEngine) +do_session_completed() +(inEngine) + + +DEFAULT_DISPOSITION +(inqpid.messaging.driver) +do_connection_heartbeat() +(inEngine) +do_session_detach() +(inEngine) + + +del_link() +(inLinkIn) +do_connection_open_ok() +(inEngine) +do_session_detached() +(inEngine) + + +del_link() +(inLinkOut) +do_connection_secure() +(inEngine) +do_session_flush() +(inEngine) + + +delete() +(inEngine) +do_connection_start() +(inEngine) +do_session_request_timeout() +(inEngine) + + +detach() +(inConnection) +do_connection_tune() +(inEngine) +do_unlink() +(inLinkIn) + + +Detached +(inqpid.messaging.exceptions) +do_execution_exception() +(inEngine) +do_unlink() +(inLinkOut) + + +DIR_NAME +(inLinkIn) +do_execution_result() +(inEngine) +driver +(inqpid.messaging) + + +DIR_NAME +(inLinkOut) +do_header() +(inEngine) +Driver +(inqpid.messaging.driver) + + +disconnect() +(inEngine) +do_link() +(inLinkIn) +DURABLE_DEFAULT +(inqpid.messaging.driver) + + +dispatch() +(inDriver) +do_link() +(inLinkOut) + + + + +E + + + +Empty +(inqpid.messaging.exceptions) +Endpoint +(inqpid.messaging.endpoints) +ESC +(inqpid.messaging.address) + + +EMPTY_DP +(inqpid.messaging.driver) +endpoints +(inqpid.messaging) +establish() +(inConnection) + + +EMPTY_MP +(inqpid.messaging.driver) +Engine +(inqpid.messaging.driver) +exceptions +(inqpid.messaging) + + +EncodeError +(inqpid.messaging.exceptions) +EOF +(inqpid.messaging.address) + + + + +F + + + +fetch() +(inReceiver) +fileno() +(inDriver) + + + +FetchError +(inqpid.messaging.exceptions) +fileno() +(inSocketTransport) + + + + +G
[39/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html new file mode 100755 index 000..7cf4caf --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html @@ -0,0 +1,174 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging + + + + + +[frames]|noframes] + + + + + +Package messagingsourcecode +A candidate high level messaging API for python. + Areas that still need work: + + + definition of the arguments for Session.sender and Session.receiver + + + standard Message properties + + + Message content encoding + + + protocol negotiation/multiprotocol impl + + + + + + + + +Submodules + + + + qpid.messaging.address + qpid.messaging.constants + qpid.messaging.driver + qpid.messaging.endpoints: A high level messaging API for python. + qpid.messaging.exceptions + qpid.messaging.message + qpid.messaging.transports + qpid.messaging.util: Add-on utilities for the qpid.messaging API. + + + + + + + + + +Variables + + + + + +__package__ = 'qpid.messaging' + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html new file mode 100755 index 000..fee6ad4 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html @@ -0,0 +1,154 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging + + + + + +[frames]|noframes] + + + + +Source Code for Package qpid.messaging + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # +10 # http://www.apache.org/licenses/LICENSE-2.0 +11 # +12 # Unless required by applicable law or agreed to in writing, +13 # software distributed under the License is distributed on an +14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +15 # KIND, either express or implied. See the License for the +16 # specific language governing permissions and limitations +17 # under the License. +18 # +19 +20 """ +21 A candidate high level messaging API for python. +22 +23 Areas that still need work: +24 +25- definition of the arguments for L{Session.sender} and L{Session.receiver} +26- standard L{Message} properties +27- L{Message} content encoding +28- protocol negotiation/multiprotocol impl +29 """ +30 +31 from qpid.datatypes import timestamp, uuid4, Serial +32 from qpid.messaging.constants import * +33 from qpid.messaging.endpoints import * +34 from qpid.messaging.exceptions import *
[24/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.old_ssl-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.old_ssl-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.old_ssl-class.html new file mode 100755 index 000..dbb6673 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.old_ssl-class.html @@ -0,0 +1,273 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.transports.old_ssl + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduletransports :: +Classold_ssl + + + + + +[frames]|noframes] + + + + + +Class old_sslsourcecode + + + + + + + + + +Instance Methods + + + + + + + + __init__(self, +conn, +host, +port) + +sourcecode + + + + + + + + + + + + + + reading(self, +reading) + +sourcecode + + + + + + + + + + + + + + writing(self, +writing) + +sourcecode + + + + + + + + + + + + + + recv(self, +n) + +sourcecode + + + + + + + + + + + + + + send(self, +s) + +sourcecode + + + + + + + + + + + + + + close(self) + +sourcecode + + + + + + + + + +Inherited from SocketTransport: + fileno + + + + + + + + + +Method Details + + + + + + + + + __init__(self, +conn, +host, +port) +(Constructor) + + sourcecode + + + + + +Overrides: +SocketTransport.__init__ + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html new file mode 100755 index 000..77ac05b --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html @@ -0,0 +1,219 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.transports.tcp + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduletransports :: +Classtcp + + + + + +[frames]|noframes] + + + + + +classobj tcpsourcecode + + + + + + + + + +Instance Methods + + + + + + + + reading(self, +reading) + +sourcecode + + + + + + + + + + + + + + writing(self, +writing) + +sourcecode + + + + + + + + + + + + + + send(self, +bytes) + +sourcecode + + + + + + + + + + + +
[28/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.LinkError-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.LinkError-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.LinkError-class.html new file mode 100755 index 000..9aa213e --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.LinkError-class.html @@ -0,0 +1,172 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.LinkError + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassLinkError + + + + + +[frames]|noframes] + + + + + +type LinkErrorsourcecode + + + +Known Subclasses: + + +AddressError, ReceiverError, InsufficientCapacity, LinkClosed, SenderError + + + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.MalformedAddress-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.MalformedAddress-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.MalformedAddress-class.html new file mode 100755 index 000..e3460b5 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.MalformedAddress-class.html @@ -0,0 +1,166 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.MalformedAddress + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassMalformedAddress + + + + + +[frames]|noframes] + + + + + +type MalformedAddresssourcecode + + + + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + +
[12/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html new file mode 100644 index 000..8565d5a --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html @@ -0,0 +1,1460 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.endpoints + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleendpoints + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.endpoints + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 """ + 21 A high level messaging API for python. + 22 + 23 Areas that still need work: + 24 + 25- definition of the arguments for L{Session.sender} and L{Session.receiver} + 26- standard L{Message} properties + 27- L{Message} content encoding + 28- protocol negotiation/multiprotocol impl + 29 """ + 30 + 31 from logging import getLogger + 32 from math import ceil + 33 from qpid.codec010 import StringCodec + 34 from qpid.concurrency import synchronized, Waiter, Condition + 35 from qpid.datatypes import Serial, uuid4 + 36 from qpid.messaging.constants import * + 37 from qpid.messaging.exceptions import * + 38 from qpid.messaging.message import * + 39 from qpid.ops import PRIMITIVE + 40 from qpid.util import default, URL + 41 from threading import Thread, RLock + 42 + 43 log = getLogger("qpid.messaging") + 44 + 45 static = staticmethod + 46 + 47 -class Endpoint(object): + 48""" + 49Base class for all endpoint objects types. + 50@undocumented: __init__, __setattr__ + 51""" + 52 - def __init__(self): + 53 self._async_exception_notify_handler = None + 54 self.error = None + 55 + 56 - def _ecwait(self, predicate, timeout=None): + 57 result = self._ewait(lambda: self.closed or predicate(), timeout) + 58 self.check_closed() + 59 return result + 60 + 61@synchronized + 62 - def set_async_exception_notify_handler(self, handler): + 63 """ + 64 Register a callable that will be invoked when the driver thread detects an + 65 error on the Endpoint. The callable is invoked with the instance of the + 66 Endpoint object passed as the first argument. The second argument is an + 67 Exception instance describing the failure. + 68 + 69 @param handler: invoked by the driver thread when an error occurs. + 70 @type handler: callable object taking an Endpoint and an Exception as + 71 arguments. + 72 @return: None + 73 @note: The exception will also be raised the next time the application + 74 invokes one of the blocking messaging APIs. + 75 @warning: B{Use with caution} This callback is invoked in the context of + 76 the driver thread. It is B{NOT} safe to call B{ANY} of the messaging APIs + 77 from within this callback. This includes any of the Endpoint's methods. The + 78 intent of the handler is to provide an efficient way to notify the + 79 application that an exception has occurred in the driver thread. This can + 80 be useful for those applications that periodically poll the messaging layer + 81 for events. In this case the callback can be used to schedule a task that + 82 retrieves the error using the Endpoint's get_error() or check_error() + 83
[40/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html b/content/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html new file mode 100755 index 000..e115ae4 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/identifier-index.html @@ -0,0 +1,1095 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + Identifier Index + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + + + +[frames]|noframes] + + + + +[ + Identifiers +| Deprecations +] + + +Identifier Index + +[ + A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + V + W + X + Y + Z + _ +] + + +A + + + +abort() +(inDriver) +AMQP_PORT +(inqpid.messaging.constants) +attached() +(inConnection) + + +acknowledge() +(inSession) +AMQPS_PORT +(inqpid.messaging.constants) +Attachment +(inqpid.messaging.driver) + + +addr2reply_to() +(inqpid.messaging.driver) +apply_overrides() +(inSessionState) +AuthenticationFailure +(inqpid.messaging.exceptions) + + +ADDR_NAME +(inLinkIn) +AssertionFailed +(inqpid.messaging.exceptions) +auto_fetch_reconnect_urls() +(inqpid.messaging.util) + + +ADDR_NAME +(inLinkOut) +assign_id() +(inEngine) +available() +(inReceiver) + + +address +(inqpid.messaging) +attach() +(inEngine) +available() +(inSender) + + +AddressError +(inqpid.messaging.exceptions) +attach() +(inConnection) + + + + +B + + + +bases +(inqpid.messaging.driver) +BINDINGS +(inqpid.messaging.driver) + + + + + +C + + + +Cache +(inqpid.messaging.driver) +close() +(inReceiver) +connect() +(inDriver) + + +capacity +(inReceiver) +close() +(inSender) +ConnectError +(inqpid.messaging.exceptions) + + +check_closed() +(inConnection) +close() +(inSession) +Connection +(inqpid.messaging.endpoints) + + +check_closed() +(inReceiver) +close() +(inold_ssl) +CONNECTION_ERRS +(inqpid.messaging.driver) + + +check_closed() +(inSender) +close() +(intcp) +ConnectionClosed +(inqpid.messaging.exceptions) + + +check_closed() +(inSession) +close() +(intls) +ConnectionError +(inqpid.messaging.exceptions) + + +check_error() +(inConnection) +close_engine() +(inDriver) +Constant +(inqpid.messaging.constants) + + +check_error() +(inReceiver) +CLOSED +(inqpid.messaging.driver) +CONSTANTS +(inqpid.messaging.address) + + +check_error() +(inSender) +COLON +(inqpid.messaging.address) +constants +(inqpid.messaging) + + +check_error() +(inSession) +COMMA +(inqpid.messaging.address) +ContentError +(inqpid.messaging.exceptions) + + +close() +(inEngine) +commit() +(inSession) + + + +close() +(inConnection) +COMMON_OPTS +(inqpid.messaging.driver) + + + + +D + + + +DECLARE +(inqpid.messaging.driver) +dispatch() +(inEngine) +do_message_transfer() +(inEngine) + + +declare() +(inEngine) +Disposition +(inqpid.messaging.message) +do_session_attached() +(inEngine) + + +DecodeError +(inqpid.messaging.exceptions) +do_connection_close() +(inEngine) +do_session_command_point() +(inEngine) + + +DEFAULT_CODEC +(inqpid.messaging.message) +do_connection_close_ok() +(inEngine) +do_session_completed() +(inEngine) + + +DEFAULT_DISPOSITION +(inqpid.messaging.driver) +do_connection_heartbeat() +(inEngine) +do_session_detach() +(inEngine) + + +del_link() +(inLinkIn) +do_connection_open_ok() +(inEngine) +do_session_detached() +(inEngine) + + +del_link() +(inLinkOut) +do_connection_secure() +(inEngine) +do_session_flush() +(inEngine) + + +delete() +(inEngine) +do_connection_start() +(inEngine) +do_session_request_timeout() +(inEngine) + + +detach() +(inConnection) +do_connection_tune() +(inEngine) +do_unlink() +(inLinkIn) + + +Detached +(inqpid.messaging.exceptions) +do_execution_exception() +(inEngine) +do_unlink() +(inLinkOut) + + +DIR_NAME +(inLinkIn) +do_execution_result() +(inEngine) +driver +(inqpid.messaging) + + +DIR_NAME +(inLinkOut) +do_header() +(inEngine) +Driver +(inqpid.messaging.driver) + + +disconnect() +(inEngine) +do_link() +(inLinkIn) +DURABLE_DEFAULT +(inqpid.messaging.driver) + + +dispatch() +(inDriver) +do_link() +(inLinkOut) + + + + +E + + + +Empty +(inqpid.messaging.exceptions) +Endpoint +(inqpid.messaging.endpoints) +ESC +(inqpid.messaging.address) + + +EMPTY_DP +(inqpid.messaging.driver) +endpoints +(inqpid.messaging) +establish() +(inConnection) + + +EMPTY_MP +(inqpid.messaging.driver) +Engine +(inqpid.messaging.driver) +exceptions +(inqpid.messaging) + + +EncodeError +(inqpid.messaging.exceptions) +EOF +(inqpid.messaging.address) + + + + +F + + + +fetch() +(inReceiver) +fileno() +(inDriver) + + + +FetchError +(inqpid.messaging.exceptions) +fileno() +(inSocketTransport) +
[16/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants-pysrc.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants-pysrc.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants-pysrc.html new file mode 100644 index 000..0bb5e1a --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants-pysrc.html @@ -0,0 +1,160 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.constants + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleconstants + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.constants + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # +10 # http://www.apache.org/licenses/LICENSE-2.0 +11 # +12 # Unless required by applicable law or agreed to in writing, +13 # software distributed under the License is distributed on an +14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +15 # KIND, either express or implied. See the License for the +16 # specific language governing permissions and limitations +17 # under the License. +18 # +19 +20 __SELF__ = object() +21 +22 -class Constant: +23 +24 - def __init__(self, name, value=__SELF__): +25 self.name = name +26 if value is __SELF__: +27self.value = self +28 else: +29self.value = value +30 +31 - def __repr__(self): +32 return self.name +33 +34 AMQP_PORT = 5672 +35 AMQPS_PORT = 5671 +36 +37 UNLIMITED = Constant("UNLIMITED", 0xL) +38 +39 REJECTED = Constant("REJECTED") +40 RELEASED = Constant("RELEASED") +41 + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html new file mode 100644 index 000..f14db91 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html @@ -0,0 +1,157 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.constants.Constant + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleconstants :: +ClassConstant + + + + + +[frames]|noframes] + + + + + +classobj Constantsourcecode + + + + + +Instance Methods + + + + + + + + __init__(self, +name, +value=object()) + +sourcecode + + + + + + + + + + + + + + __repr__(self) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API +
[20/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/epydoc.js -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/epydoc.js b/input/releases/qpid-python-1.36.0/messaging-api/api/epydoc.js new file mode 100644 index 000..e787dbc --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/epydoc.js @@ -0,0 +1,293 @@ +function toggle_private() { +// Search for any private/public links on this page. Store +// their old text in "cmd," so we will know what action to +// take; and change their text to the opposite action. +var cmd = "?"; +var elts = document.getElementsByTagName("a"); +for(var i=0; i
[36/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html new file mode 100755 index 000..ade4854 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html @@ -0,0 +1,1729 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.driver + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 import socket, struct, sys, time + 21 from logging import getLogger, DEBUG + 22 from qpid import compat + 23 from qpid import sasl + 24 from qpid.concurrency import synchronized + 25 from qpid.datatypes import RangedSet, Serial + 26 from qpid.framing import OpEncoder, SegmentEncoder, FrameEncoder, \ + 27 FrameDecoder, SegmentDecoder, OpDecoder + 28 from qpid.messaging import address, transports + 29 from qpid.messaging.constants import UNLIMITED, REJECTED, RELEASED + 30 from qpid.messaging.exceptions import * + 31 from qpid.messaging.message import get_codec, Disposition, Message + 32 from qpid.messaging.endpoints import MangledString + 33 from qpid.ops import * + 34 from qpid.selector import Selector + 35 from qpid.util import URL, default,get_client_properties_with_defaults + 36 from qpid.validator import And, Context, List, Map, Types, Values + 37 from threading import Condition, Thread + 38 + 39 log = getLogger("qpid.messaging") + 40 rawlog = getLogger("qpid.messaging.io.raw") + 41 opslog = getLogger("qpid.messaging.io.ops") + 42 + 43 -def addr2reply_to(addr): + 44name, subject, options = address.parse(addr) + 45if options: + 46 type = options.get("node", {}).get("type") + 47else: + 48 type = None + 49 + 50if type == "topic": + 51 return ReplyTo(name, subject) + 52else: + 53 return ReplyTo(None, name) + 54 + 55 -def reply_to2addr(reply_to): + 56if reply_to.exchange in (None, ""): + 57 return reply_to.routing_key + 58elif reply_to.routing_key is None: + 59 return "%s; {node: {type: topic}}" % reply_to.exchange + 60else: + 61 return "%s/%s; {node: {type: topic}}" % (reply_to.exchange, reply_to.routing_key) + 62 + 63 -class Attachment: + 64 + 65 - def __init__(self, target): + 66 self.target = target + 67 + 68 # XXX + 69 + 70 DURABLE_DEFAULT=False + 71 + 72 # XXX + 73 + 74 -class Pattern: + 75""" + 76The pattern filter matches the supplied wildcard pattern against a + 77message subject. + 78""" + 79 + 80 - def __init__(self, value): + 81 self.value = value + 82 + 83# XXX: this should become part of the driver + 84 - def _bind(self, sst, exchange, queue): + 85 from qpid.ops import ExchangeBind + 86 + 87 sst.write_cmd(ExchangeBind(exchange=exchange, queue=queue, + 88 binding_key=self.value.replace("*", "#"))) + 89 + 90 SUBJECT_DEFAULTS = { + 91"topic": "#" + 92} + 93 + 94 -def noop(): pass + 95 -def sync_noop(): pass + 96 + 97 -class SessionState: + 98 + 99 - def __init__(self, driver, session, name, channel): + 100 self.driver = driver + 101 self.session = session + 102
[05/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.message-pysrc.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.message-pysrc.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.message-pysrc.html new file mode 100644 index 000..4730676 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.message-pysrc.html @@ -0,0 +1,293 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.message + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Modulemessage + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.message + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 from qpid.codec010 import StringCodec + 21 from qpid.ops import PRIMITIVE + 22 + 23 -def codec(name): + 24type = PRIMITIVE[name] + 25 + 26def encode(x): + 27 sc = StringCodec() + 28 sc.write_primitive(type, x) + 29 return sc.encoded + 30 + 31def decode(x): + 32 sc = StringCodec(x) + 33 return sc.read_primitive(type) + 34 + 35return encode, decode + 36 + 37 # XXX: need to correctly parse the mime type and deal with + 38 # content-encoding header + 39 + 40 TYPE_MAPPINGS={ + 41dict: "amqp/map", + 42list: "amqp/list", + 43unicode: "text/plain; charset=utf8", + 44unicode: "text/plain", + 45buffer: None, + 46str: None, + 47None.__class__: None + 48} + 49 + 50 DEFAULT_CODEC = (lambda x: x, lambda x: x) + 51 + 52 -def encode_text_plain(x): + 53if x is None: + 54 return None + 55else: + 56 return x.encode("utf8") + 57 + 58 -def decode_text_plain(x): + 59if x is None: + 60 return None + 61else: + 62 return x.decode("utf8") + 63 + 64 TYPE_CODEC={ + 65"amqp/map": codec("map"), + 66"amqp/list": codec("list"), + 67"text/plain; charset=utf8": (encode_text_plain, decode_text_plain), + 68"text/plain": (encode_text_plain, decode_text_plain), + 69"": DEFAULT_CODEC, + 70None: DEFAULT_CODEC + 71} + 72 + 73 -def get_type(content): + 74return TYPE_MAPPINGS[content.__class__] + 75 + 76 -def get_codec(content_type): + 77return TYPE_CODEC.get(content_type, DEFAULT_CODEC) + 78 + 79 UNSPECIFIED = object() + 80 + 81 -class Message: + 82 + 83""" + 84A message consists of a standard set of fields, an application + 85defined set of properties, and some content. + 86 + 87@type id: str + 88@ivar id: the message id + 89@type subject: str + 90@ivar subject: message subject + 91@type user_id: str + 92@ivar user_id: the user-id of the message producer + 93@type reply_to: str + 94@ivar reply_to: the address to send replies + 95@type correlation_id: str + 96@ivar correlation_id: a correlation-id for the message + 97@type durable: bool + 98@ivar durable: message durability + 99@type priority: int +100@ivar priority: message priority +101@type ttl: float +102@ivar ttl: time-to-live measured in seconds +103@type properties: dict +104@ivar properties: application specific message properties +105@type content_type: str +106@ivar content_type: the content-type of the message +107@type content: str, unicode, buffer, dict, list +108@ivar content: the message content +109""" +110 +111 - def __init__(self, content=None, content_type=UNSPECIFIED, id=None, +112 subject=None, user_id=None, reply_to=None, correlation_id=None, +113
[29/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html new file mode 100755 index 000..9f037b1 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html @@ -0,0 +1,174 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.ConnectionError + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassConnectionError + + + + + +[frames]|noframes] + + + + + +type ConnectionErrorsourcecode + + + +Known Subclasses: + + +ConnectError, ConnectionClosed, HeartbeatTimeout + + + +The base class for all connection related exceptions. + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html new file mode 100755 index 000..5259b84 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html @@ -0,0 +1,175 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.ContentError + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassContentError + + + + + +[frames]|noframes] + + + + + +type ContentErrorsourcecode + + + +Known Subclasses: + + +DecodeError, EncodeError + + + +This type of exception will be returned to the application once, and + will not block further requests + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html new file mode 100755 index 000..ba8b654 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html @@ -0,0 +1,143 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver.Pattern + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver :: +ClassPattern + + + + + +[frames]|noframes] + + + + + +classobj Patternsourcecode +The pattern filter matches the supplied wildcard pattern against a + message subject. + + + + + + +Instance Methods + + + + + + + + __init__(self, +value) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html new file mode 100644 index 000..77ac05b --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports.tcp-class.html @@ -0,0 +1,219 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.transports.tcp + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduletransports :: +Classtcp + + + + + +[frames]|noframes] + + + + + +classobj tcpsourcecode + + + + + + + + + +Instance Methods + + + + + + + + reading(self, +reading) + +sourcecode + + + + + + + + + + + + + + writing(self, +writing) + +sourcecode + + + + + + + + + + + + + + send(self, +bytes) + +sourcecode + + + + + + + + + + + + +
[10/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Session-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Session-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Session-class.html new file mode 100644 index 000..cbf8835 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Session-class.html @@ -0,0 +1,995 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.endpoints.Session + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleendpoints :: +ClassSession + + + + + +[frames]|noframes] + + + + + +type Sessionsourcecode + + + + +Sessions provide a linear context for sending and receiving Messages. Messages are sent and received using the Sender.send and Receiver.fetch methods of the Sender + and Receiver objects associated with a Session. + Each Sender and Receiver is created by supplying either a target or + source address to the sender and receiver methods of the Session. The address is supplied + via a string syntax documented below. + Addresses +An address identifies a source or target for messages. In its +simplest form this is just a name. In general a target address may also +be used as a source address, however not all source addresses may be +used as a target, e.g. a source might additionally have some filtering +criteria that would not be present in a target. +A subject may optionally be specified along with the name. When an +address is used as a target, any subject specified in the address is +used as the default subject of outgoing messages for that target. When +an address is used as a source, any subject specified in the address is +pattern matched against the subject of available messages as a filter +for incoming messages from that source. +The options map contains additional information about the address +including: + + +policies for automatically creating, and deleting the node to which +an address refers + + +policies for asserting facts about the node to which an address +refers + + +extension points that can be used for sender/receiver configuration + + +Mapping to AMQP 0-10 + The name is resolved to either an exchange or a queue by querying + the broker. + The subject is set as a property on the message. Additionally, if + the name refers to an exchange, the routing key is set to the + subject. +Syntax + The following regular expressions define the tokens used to parse + addresses: + + LBRACE: \{ + RBRACE: \} + LBRACK: \[ + RBRACK: \] + COLON: : + SEMI: ; + SLASH: / + COMMA: , + NUMBER: [+-]?[0-9]*\.?[0-9]+ + ID: [a-zA-Z_](?:[a-zA-Z0-9_-]*[a-zA-Z0-9_])? + STRING: (?:[^\\]|\\.)*|'(?:[^\\']|\\.)*' + ESC: \\[^ux]|\\x[0-9a-fA-F][0-9a-fA-F]|\\u[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F] + SYM:[.#*%@$^!+-] + WSPACE: [ \n\r\t]+ + + The formal grammar for addresses is given below: + + address = name [ / subject ] [ ; options ] +name = ( part | quoted )+ + subject = ( part | quoted | / )* + quoted = STRING / ESC +part = LBRACE / RBRACE / COLON / COMMA / NUMBER / ID / SYM + options = map + map = { ( keyval ( , keyval )* )? } + keyval = ID : value + value = NUMBER / STRING / ID / map / list +list = [ ( value ( , value )* )? ] + + This grammar resuls in the following informal syntax: + + name [ / subject ] [ ; options ] + + Where options is: + + { key : value, ... } + + And values may be: + + + numbers + + + single, double, or non quoted strings + + + maps (dictionaries) + + + lists + + +Options + The options map permits the following parameters: + + name [ / subject ] ; { + create: always | sender | receiver | never, + delete: always | sender | receiver | never, + assert: always | sender | receiver | never, + mode: browse | consume, + node: { + type: queue | topic, + durable: True | False, + x-declare: { ... declare-overrides ... }, + x-bindings: [binding_1, ... binding_n] + }, + link: { + name: link-name, + durable: True | False, + reliability: unreliable | at-most-once | at-least-once | exactly-once, + x-declare: { ... declare-overrides ... }, +
[06/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html new file mode 100644 index 000..69a9c5e --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html @@ -0,0 +1,166 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.TargetCapacityExceeded + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassTargetCapacityExceeded + + + + + +[frames]|noframes] + + + + + +type TargetCapacityExceededsourcecode + + + + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html new file mode 100644 index 000..5b2b3a7 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html @@ -0,0 +1,164 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.Timeout + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassTimeout + + + + + +[frames]|noframes] + + + + + +type Timeoutsourcecode + + + + + + + + + +Instance Methods + + + +Inherited from exceptions.Exception: + __init__, + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TransactionAborted-class.html
[09/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html new file mode 100644 index 000..76f3fa4 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html @@ -0,0 +1,315 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.exceptions + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 -class Timeout(Exception): + 21pass + 22 + 23 ## Messaging Errors + 24 + 25 -class MessagingError(Exception): + 26 + 27 - def __init__(self, code=None, text=None, **info): + 28 self.code = code + 29 self.text = text + 30 self.info = info + 31 if self.code is None: + 32 msg = self.text + 33 else: + 34 msg = "%s(%s)" % (self.text, self.code) + 35 if info: + 36 msg += " " + ", ".join(["%s=%r" % (k, v) for k, v in self.info.items()]) + 37 Exception.__init__(self, msg) + 38 -class InternalError(MessagingError): + 39pass + 40 + 41 ## Connection Errors + 42 + 43 -class ConnectionError(MessagingError): + 44""" + 45The base class for all connection related exceptions. + 46""" + 47pass + 48 + 49 -class ConnectError(ConnectionError): + 50""" + 51Exception raised when there is an error connecting to the remote + 52peer. + 53""" + 54pass + 55 + 56 -class VersionError(ConnectError): + 57pass + 58 + 59 -class AuthenticationFailure(ConnectError): + 60pass + 61 + 62 -class ConnectionClosed(ConnectionError): + 63pass + 64 + 65 -class HeartbeatTimeout(ConnectionError): + 66pass + 67 + 68 ## Session Errors + 69 + 70 -class SessionError(MessagingError): + 71pass + 72 + 73 -class Detached(SessionError): + 74""" + 75Exception raised when an operation is attempted that is illegal when + 76detached. + 77""" + 78pass + 79 + 80 -class NontransactionalSession(SessionError): + 81""" + 82Exception raised when commit or rollback is attempted on a non + 83transactional session. + 84""" + 85pass + 86 + 87 -class TransactionError(SessionError): + 88"""Base class for transactional errors""" + 89pass + 90 + 91 -class TransactionAborted(TransactionError): + 92"""The transaction was automatically rolled back. This could be due to an error + 93on the broker, such as a store failure, or a connection failure during the + 94transaction""" + 95pass + 96 + 97 -class TransactionUnknown(TransactionError): + 98""" The outcome of the transaction on the broker (commit or roll-back) is not + 99known. This occurs when the connection fails after we sent the commit but +100before we received a response.""" +101pass +102 +103 -class UnauthorizedAccess(SessionError): +104pass +105 +106 -class ServerError(SessionError): +107pass +108 +109 -class SessionClosed(SessionError): +110pass +111 +112 ## Link Errors +113 +114 -class LinkError(MessagingError): +115pass +116 +117 -class InsufficientCapacity(LinkError): +118pass +119 +120 -class AddressError(LinkError): +121pass +122 +123 -class MalformedAddress(AddressError):
[27/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html new file mode 100755 index 000..69a9c5e --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TargetCapacityExceeded-class.html @@ -0,0 +1,166 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.TargetCapacityExceeded + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassTargetCapacityExceeded + + + + + +[frames]|noframes] + + + + + +type TargetCapacityExceededsourcecode + + + + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html new file mode 100755 index 000..5b2b3a7 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.Timeout-class.html @@ -0,0 +1,164 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.Timeout + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassTimeout + + + + + +[frames]|noframes] + + + + + +type Timeoutsourcecode + + + + + + + + + +Instance Methods + + + +Inherited from exceptions.Exception: + __init__, + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.TransactionAborted-class.html
[35/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html new file mode 100755 index 000..83b476e --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html @@ -0,0 +1,140 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver.Attachment + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver :: +ClassAttachment + + + + + +[frames]|noframes] + + + + + +classobj Attachmentsourcecode + + + + + +Instance Methods + + + + + + + + __init__(self, +target) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html new file mode 100755 index 000..bdbbb62 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html @@ -0,0 +1,192 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver.Cache + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver :: +ClassCache + + + + + +[frames]|noframes] + + + + + +classobj Cachesourcecode + + + + + +Instance Methods + + + + + + + + __init__(self, +ttl) + +sourcecode + + + + + + + + + + + + + + __setitem__(self, +key, +value) + +sourcecode + + + + + + + + + + + + + + __getitem__(self, +key) + +sourcecode + + + + + + + + + + + + + + __delitem__(self, +key) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Driver-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Driver-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Driver-class.html new
[30/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html new file mode 100755 index 000..76f3fa4 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions-pysrc.html @@ -0,0 +1,315 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.exceptions + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 -class Timeout(Exception): + 21pass + 22 + 23 ## Messaging Errors + 24 + 25 -class MessagingError(Exception): + 26 + 27 - def __init__(self, code=None, text=None, **info): + 28 self.code = code + 29 self.text = text + 30 self.info = info + 31 if self.code is None: + 32 msg = self.text + 33 else: + 34 msg = "%s(%s)" % (self.text, self.code) + 35 if info: + 36 msg += " " + ", ".join(["%s=%r" % (k, v) for k, v in self.info.items()]) + 37 Exception.__init__(self, msg) + 38 -class InternalError(MessagingError): + 39pass + 40 + 41 ## Connection Errors + 42 + 43 -class ConnectionError(MessagingError): + 44""" + 45The base class for all connection related exceptions. + 46""" + 47pass + 48 + 49 -class ConnectError(ConnectionError): + 50""" + 51Exception raised when there is an error connecting to the remote + 52peer. + 53""" + 54pass + 55 + 56 -class VersionError(ConnectError): + 57pass + 58 + 59 -class AuthenticationFailure(ConnectError): + 60pass + 61 + 62 -class ConnectionClosed(ConnectionError): + 63pass + 64 + 65 -class HeartbeatTimeout(ConnectionError): + 66pass + 67 + 68 ## Session Errors + 69 + 70 -class SessionError(MessagingError): + 71pass + 72 + 73 -class Detached(SessionError): + 74""" + 75Exception raised when an operation is attempted that is illegal when + 76detached. + 77""" + 78pass + 79 + 80 -class NontransactionalSession(SessionError): + 81""" + 82Exception raised when commit or rollback is attempted on a non + 83transactional session. + 84""" + 85pass + 86 + 87 -class TransactionError(SessionError): + 88"""Base class for transactional errors""" + 89pass + 90 + 91 -class TransactionAborted(TransactionError): + 92"""The transaction was automatically rolled back. This could be due to an error + 93on the broker, such as a store failure, or a connection failure during the + 94transaction""" + 95pass + 96 + 97 -class TransactionUnknown(TransactionError): + 98""" The outcome of the transaction on the broker (commit or roll-back) is not + 99known. This occurs when the connection fails after we sent the commit but +100before we received a response.""" +101pass +102 +103 -class UnauthorizedAccess(SessionError): +104pass +105 +106 -class ServerError(SessionError): +107pass +108 +109 -class SessionClosed(SessionError): +110pass +111 +112 ## Link Errors +113 +114 -class LinkError(MessagingError): +115pass +116 +117 -class InsufficientCapacity(LinkError): +118pass +119 +120 -class AddressError(LinkError): +121pass +122 +123 -class
[33/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html new file mode 100755 index 000..8565d5a --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints-pysrc.html @@ -0,0 +1,1460 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.endpoints + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleendpoints + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.endpoints + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 """ + 21 A high level messaging API for python. + 22 + 23 Areas that still need work: + 24 + 25- definition of the arguments for L{Session.sender} and L{Session.receiver} + 26- standard L{Message} properties + 27- L{Message} content encoding + 28- protocol negotiation/multiprotocol impl + 29 """ + 30 + 31 from logging import getLogger + 32 from math import ceil + 33 from qpid.codec010 import StringCodec + 34 from qpid.concurrency import synchronized, Waiter, Condition + 35 from qpid.datatypes import Serial, uuid4 + 36 from qpid.messaging.constants import * + 37 from qpid.messaging.exceptions import * + 38 from qpid.messaging.message import * + 39 from qpid.ops import PRIMITIVE + 40 from qpid.util import default, URL + 41 from threading import Thread, RLock + 42 + 43 log = getLogger("qpid.messaging") + 44 + 45 static = staticmethod + 46 + 47 -class Endpoint(object): + 48""" + 49Base class for all endpoint objects types. + 50@undocumented: __init__, __setattr__ + 51""" + 52 - def __init__(self): + 53 self._async_exception_notify_handler = None + 54 self.error = None + 55 + 56 - def _ecwait(self, predicate, timeout=None): + 57 result = self._ewait(lambda: self.closed or predicate(), timeout) + 58 self.check_closed() + 59 return result + 60 + 61@synchronized + 62 - def set_async_exception_notify_handler(self, handler): + 63 """ + 64 Register a callable that will be invoked when the driver thread detects an + 65 error on the Endpoint. The callable is invoked with the instance of the + 66 Endpoint object passed as the first argument. The second argument is an + 67 Exception instance describing the failure. + 68 + 69 @param handler: invoked by the driver thread when an error occurs. + 70 @type handler: callable object taking an Endpoint and an Exception as + 71 arguments. + 72 @return: None + 73 @note: The exception will also be raised the next time the application + 74 invokes one of the blocking messaging APIs. + 75 @warning: B{Use with caution} This callback is invoked in the context of + 76 the driver thread. It is B{NOT} safe to call B{ANY} of the messaging APIs + 77 from within this callback. This includes any of the Endpoint's methods. The + 78 intent of the handler is to provide an efficient way to notify the + 79 application that an exception has occurred in the driver thread. This can + 80 be useful for those applications that periodically poll the messaging layer + 81 for events. In this case the callback can be used to schedule a task that + 82 retrieves the error using the Endpoint's get_error() or check_error() +
[21/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/index.md -- diff --git a/input/releases/qpid-python-1.36.0/index.md b/input/releases/qpid-python-1.36.0/index.md new file mode 100644 index 000..4790307 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/index.md @@ -0,0 +1,67 @@ +;; +;; Licensed to the Apache Software Foundation (ASF) under one +;; or more contributor license agreements. See the NOTICE file +;; distributed with this work for additional information +;; regarding copyright ownership. The ASF licenses this file +;; to you under the Apache License, Version 2.0 (the +;; "License"); you may not use this file except in compliance +;; with the License. You may obtain a copy of the License at +;; +;; http://www.apache.org/licenses/LICENSE-2.0 +;; +;; Unless required by applicable law or agreed to in writing, +;; software distributed under the License is distributed on an +;; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +;; KIND, either express or implied. See the License for the +;; specific language governing permissions and limitations +;; under the License. +;; + +# Qpid Python 1.36.0 + +Qpid Python offers a connection-oriented AMQP messaging API. More +about [Qpid]({{site_url}}/index.html). + +For a detailed list of the changes in this release, see the [release +notes](release-notes.html). + +It's important to [verify the +integrity]({{site_url}}/download.html#verify-what-you-download) of the +files you download. + +## Source archives + +| Content | Download | Verify | +|-|--|| +| Qpid Messaging API (Python) | [qpid-python-1.36.0.tar.gz](http://archive.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz) | [ASC](http://archive.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.asc), [MD5](http://archive.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.md5), [SHA512](http://archive.apache.org/dist/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.sha) | + +## Components + +| Component | Languages | Platforms | AMQP versions | +|---|---|---|---| +| [Qpid Messaging API]({{site_url}}/components/messaging-api/index.html) | Python | Linux, Windows | 0-10 | + +## Documentation + + + + + - [Installing Qpid Python](https://git-wip-us.apache.org/repos/asf?p=qpid-python.git;a=blob_plain;f=README.md;hb=HEAD) + - [Python API reference](messaging-api/api/index.html) + - [Python examples](messaging-api/examples/index.html) + + + + +## More information + + - [Resolved issues in JIRA](https://issues.apache.org/jira/issues/?jql=project+%3D+QPID+AND+fixVersion+%3D+%27qpid-python-1.36.0%27+AND+resolution+%3D+%27fixed%27+ORDER+BY+priority+DESC) + - [Source repository tag](https://git-wip-us.apache.org/repos/asf?p=qpid-python.git;a=tag;h=1.36.0) + + + _deferredFunctions.push(function() { + if ("1.36.0" === "{{current_python_release}}") { + _modifyCurrentReleaseLinks(); + } + }); + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/_transom_ignore_pages -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/_transom_ignore_pages b/input/releases/qpid-python-1.36.0/messaging-api/api/_transom_ignore_pages new file mode 100644 index 000..e69de29 http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/api-objects.txt -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/api-objects.txt b/input/releases/qpid-python-1.36.0/messaging-api/api/api-objects.txt new file mode 100644 index 000..aebb696 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/api-objects.txt @@ -0,0 +1,402 @@ +qpid.messaging qpid.messaging-module.html +qpid.messaging.__package__ qpid.messaging-module.html#__package__ +qpid.messaging.address qpid.messaging.address-module.html +qpid.messaging.address.EOF qpid.messaging.address-module.html#EOF +qpid.messaging.address.LEXER qpid.messaging.address-module.html#LEXER +qpid.messaging.address.NUMBER qpid.messaging.address-module.html#NUMBER +qpid.messaging.address.tok2str qpid.messaging.address-module.html#tok2str +qpid.messaging.address.l qpid.messaging.address-module.html#l +qpid.messaging.address.parse qpid.messaging.address-module.html#parse +qpid.messaging.address.RBRACE qpid.messaging.address-module.html#RBRACE +qpid.messaging.address.SEMIqpid.messaging.address-module.html#SEMI +qpid.messaging.address.tok2obj qpid.messaging.address-module.html#tok2obj +qpid.messaging.address.__package__ qpid.messaging.address-module.html#__package__ +qpid.messaging.address.toks2str
[25/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports-pysrc.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports-pysrc.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports-pysrc.html new file mode 100755 index 000..73f2d40 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.transports-pysrc.html @@ -0,0 +1,434 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.transports + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduletransports + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.transports + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 import socket + 21 from qpid.util import connect + 22 + 23 TRANSPORTS = {} + 24 + 25 -class SocketTransport: + 26 + 27 - def __init__(self, conn, host, port): + 28 self.socket = connect(host, port) + 29 if conn.tcp_nodelay: + 30 self.socket.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) + 31 + 32 - def fileno(self): + 33 return self.socket.fileno() + 34 + 35 -class tcp(SocketTransport): + 36 + 37 - def reading(self, reading): + 38 return reading + 39 + 40 - def writing(self, writing): + 41 return writing + 42 + 43 - def send(self, bytes): + 44 return self.socket.send(bytes) + 45 + 46 - def recv(self, n): + 47 return self.socket.recv(n) + 48 + 49 - def close(self): + 50 self.socket.close() + 51 + 52 TRANSPORTS["tcp"] = tcp + 53 + 54 try: + 55from ssl import wrap_socket, SSLError, SSL_ERROR_WANT_READ, \ + 56 SSL_ERROR_WANT_WRITE, CERT_REQUIRED, CERT_NONE + 57 except ImportError: + 58 + 59## try the older python SSL api: + 60from socket import ssl + 61 + 62 - class old_ssl(SocketTransport): + 63 -def __init__(self, conn, host, port): + 64SocketTransport.__init__(self, conn, host, port) + 65 # Bug (QPID-4337): this is the "old" version of python SSL. + 66 # The private key is required. If a certificate is given, but no + 67 # keyfile, assume the key is contained in the certificate + 68 ssl_keyfile = conn.ssl_keyfile + 69 ssl_certfile = conn.ssl_certfile + 70 if ssl_certfile and not ssl_keyfile: + 71 ssl_keyfile = ssl_certfile + 72 + 73 # this version of SSL does NOT perform certificate validation. If the + 74 # connection has been configured with CA certs (via ssl_trustfile), then + 75 # the application expects the certificate to be validated against the + 76 # supplied CA certs. Since this version cannot validate, the peer cannot + 77 # be trusted. + 78 if conn.ssl_trustfile: + 79 raise socket.error("This version of Python does not support verification of the peer's certificate.") + 80 + 81 self.ssl = ssl(self.socket, keyfile=ssl_keyfile, certfile=ssl_certfile) + 82 self.socket.setblocking(1) + 83 + 84 -def reading(self, reading): + 85return reading + 86 + 87 -def writing(self, writing): + 88return writing + 89 + 90 -def recv(self, n): + 91return self.ssl.read(n) + 92 + 93 -def send(self, s): + 94return self.ssl.write(s) + 95 + 96 -def close(self): + 97self.socket.close() + 98 + 99TRANSPORTS["ssl"] = old_ssl +100TRANSPORTS["tcp+tls"] = old_ssl +101 +102 else: +103 - class tls(SocketTransport): +104 +105 -
[41/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/deprecated-index.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/deprecated-index.html b/content/releases/qpid-python-1.36.0/messaging-api/api/deprecated-index.html new file mode 100755 index 000..94e2595 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/deprecated-index.html @@ -0,0 +1,118 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + Deprecation List + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + + + +[frames]|noframes] + + + + +[ + Identifiers +| Deprecations +] +Deprecation List + + +Deprecations in qpid.messaging.endpoints.Session.set_message_received_handler + Use set_message_received_notify_handler instead. + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/epydoc.css -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/epydoc.css b/content/releases/qpid-python-1.36.0/messaging-api/api/epydoc.css new file mode 100755 index 000..e834248 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/epydoc.css @@ -0,0 +1,322 @@ + + +/* Epydoc CSS Stylesheet + * + * This stylesheet can be used to customize the appearance of epydoc's + * HTML output. + * + */ + +/* Default Colors & Styles + * - Set the default foreground & background color with 'body'; and + * link colors with 'a:link' and 'a:visited'. + * - Use bold for decision list terms. + * - The heading styles defined here are used for headings *within* + * docstring descriptions. All headings used by epydoc itself use + * either class='epydoc' or class='toc' (CSS styles for both + * defined below). + */ +body{ background: #ff; color: #00; } +p { margin-top: 0.5em; margin-bottom: 0.5em; } +a:link { color: #ff; } +a:visited { color: #204080; } +dt { font-weight: bold; } +h1 { font-size: +140%; font-style: italic; + font-weight: bold; } +h2 { font-size: +125%; font-style: italic; + font-weight: bold; } +h3 { font-size: +110%; font-style: italic; + font-weight: normal; } +code{ font-size: 100%; } +/* N.B.: class, not pseudoclass */ +a.link { font-family: monospace; } + +/* Page Header & Footer + * - The standard page header consists of a navigation bar (with + * pointers to standard pages such as 'home' and 'trees'); a + * breadcrumbs list, which can be used to navigate to containing + * classes or modules; options links, to show/hide private + * variables and to show/hide frames; and a page title (using + * ). The page title may be followed by a link to the + * corresponding source code (using 'span.codelink'). + * - The footer consists of a navigation bar, a timestamp + * (if --include-timestamp was passed), and a pointer to epydoc's homepage. + */ +h1.epydoc { margin: 0; font-size: +140%; font-weight: bold; } +h2.epydoc { font-size: +130%; font-weight: bold; } +h3.epydoc { font-size: +115%; font-weight: bold; + margin-top: 0.2em; } +td h3.epydoc{ font-size: +115%; font-weight: bold; + margin-bottom: 0; } +table.navbar{ background: #a0c0ff; color: #00; + border: 2px groove #c0d0d0; } +table.navbar table { color: #00; } +th.navbar-select{ background: #70b0ff; + color: #00; } +table.navbar a { text-decoration: none; } +table.navbar a:link { color:
[32/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Connection-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Connection-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Connection-class.html new file mode 100755 index 000..9d2cdc1 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.endpoints.Connection-class.html @@ -0,0 +1,630 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.endpoints.Connection + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleendpoints :: +ClassConnection + + + + + +[frames]|noframes] + + + + + +type Connectionsourcecode + + + + +A Connection manages a group of Sessions and connects them with a remote endpoint. + + + + + + +Instance Methods + + + + Connection + + + + __init__(self, +url=None, +**options) + Creates a connection. + +sourcecode + + + + + + + + + + + + + + check_error(self) + +sourcecode + + + + + + + + + + + + + + get_error(self) + +sourcecode + + + + + + + + + + + + + + check_closed(self) + +sourcecode + + + + + + + + + + Session + + + + session(self, +name=None, +transactional=False) + Creates or retrieves the named session. + +sourcecode + + + + + + + + + + + + + + open(self, +timeout=None) + Opens a connection. + +sourcecode + + + + + + + + + + + + + + opened(self) + Return true if the connection is open, false otherwise. + +sourcecode + + + + + + + + + + + + + + attach(self, +timeout=None) + Attach to the remote endpoint. + +sourcecode + + + + + + + + + + + + + + detach(self, +timeout=None) + Detach from the remote endpoint. + +sourcecode + + + + + + + + + + + + + + attached(self) + Return true if the connection is attached, false otherwise. + +sourcecode + + + + + + + + + + + + + + close(self, +timeout=None) + Close the connection and all sessions. + +sourcecode + + + + + + + + + +Inherited from Endpoint: + set_async_exception_notify_handler + + + + + + + + + +Static Methods + + + + + + + + establish(url=None, +timeout=None, +**options) + Constructs a Connection with the supplied parameters and opens + it. + +sourcecode + + + + + + + + + + + + + +Method Details + + + + + + + + + establish(url=None, +timeout=None, +**options) +Static Method + + sourcecode + + + + Constructs a Connection with the supplied parameters and opens + it. + +Decorators: + +@static + + + + + + + + + + + __init__(self, +url=None, +**options) +(Constructor) + + sourcecode + + + + Creates a connection. A newly created connection must be opened with + the Connection.open() method before it can be used. + +Parameters: + +url (str) - [ username [ / password ] @ ] host [ : + port ] +host (str) - the name or ip address of the remote host (overriden by url) +port (int) - the port number of the remote host (overriden by url) +transport (str) - one of tcp, tcp+tls, or ssl (alias for
[14/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html new file mode 100644 index 000..83b476e --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Attachment-class.html @@ -0,0 +1,140 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver.Attachment + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver :: +ClassAttachment + + + + + +[frames]|noframes] + + + + + +classobj Attachmentsourcecode + + + + + +Instance Methods + + + + + + + + __init__(self, +target) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html new file mode 100644 index 000..bdbbb62 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Cache-class.html @@ -0,0 +1,192 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver.Cache + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver :: +ClassCache + + + + + +[frames]|noframes] + + + + + +classobj Cachesourcecode + + + + + +Instance Methods + + + + + + + + __init__(self, +ttl) + +sourcecode + + + + + + + + + + + + + + __setitem__(self, +key, +value) + +sourcecode + + + + + + + + + + + + + + __getitem__(self, +key) + +sourcecode + + + + + + + + + + + + + + __delitem__(self, +key) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Driver-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Driver-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Driver-class.html new file mode 100644 index
[08/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html new file mode 100644 index 000..9f037b1 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ConnectionError-class.html @@ -0,0 +1,174 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.ConnectionError + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassConnectionError + + + + + +[frames]|noframes] + + + + + +type ConnectionErrorsourcecode + + + +Known Subclasses: + + +ConnectError, ConnectionClosed, HeartbeatTimeout + + + +The base class for all connection related exceptions. + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html new file mode 100644 index 000..5259b84 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.exceptions.ContentError-class.html @@ -0,0 +1,175 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.exceptions.ContentError + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleexceptions :: +ClassContentError + + + + + +[frames]|noframes] + + + + + +type ContentErrorsourcecode + + + +Known Subclasses: + + +DecodeError, EncodeError + + + +This type of exception will be returned to the application once, and + will not block further requests + + + + + + +Instance Methods + + + +Inherited from MessagingError: + __init__ + +Inherited from exceptions.Exception: + __new__ + +Inherited from exceptions.BaseException: + __delattr__, + __getattribute__, + __getitem__, + __getslice__, + __reduce__, + __repr__, + __setattr__, + __setstate__, + __str__, + __unicode__ + + + + + + + + + +Properties + + + +Inherited from exceptions.BaseException: + args, + message + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html -- diff --git a/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html new file mode 100755 index 000..f14db91 --- /dev/null +++ b/content/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.constants.Constant-class.html @@ -0,0 +1,157 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.constants.Constant + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduleconstants :: +ClassConstant + + + + + +[frames]|noframes] + + + + + +classobj Constantsourcecode + + + + + +Instance Methods + + + + + + + + __init__(self, +name, +value=object()) + +sourcecode + + + + + + + + + + + + + + __repr__(self) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python
[15/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html new file mode 100644 index 000..ade4854 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver-pysrc.html @@ -0,0 +1,1729 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver + + + + + +[frames]|noframes] + + + + +Source Code for Module qpid.messaging.driver + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # + 10 # http://www.apache.org/licenses/LICENSE-2.0 + 11 # + 12 # Unless required by applicable law or agreed to in writing, + 13 # software distributed under the License is distributed on an + 14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 15 # KIND, either express or implied. See the License for the + 16 # specific language governing permissions and limitations + 17 # under the License. + 18 # + 19 + 20 import socket, struct, sys, time + 21 from logging import getLogger, DEBUG + 22 from qpid import compat + 23 from qpid import sasl + 24 from qpid.concurrency import synchronized + 25 from qpid.datatypes import RangedSet, Serial + 26 from qpid.framing import OpEncoder, SegmentEncoder, FrameEncoder, \ + 27 FrameDecoder, SegmentDecoder, OpDecoder + 28 from qpid.messaging import address, transports + 29 from qpid.messaging.constants import UNLIMITED, REJECTED, RELEASED + 30 from qpid.messaging.exceptions import * + 31 from qpid.messaging.message import get_codec, Disposition, Message + 32 from qpid.messaging.endpoints import MangledString + 33 from qpid.ops import * + 34 from qpid.selector import Selector + 35 from qpid.util import URL, default,get_client_properties_with_defaults + 36 from qpid.validator import And, Context, List, Map, Types, Values + 37 from threading import Condition, Thread + 38 + 39 log = getLogger("qpid.messaging") + 40 rawlog = getLogger("qpid.messaging.io.raw") + 41 opslog = getLogger("qpid.messaging.io.ops") + 42 + 43 -def addr2reply_to(addr): + 44name, subject, options = address.parse(addr) + 45if options: + 46 type = options.get("node", {}).get("type") + 47else: + 48 type = None + 49 + 50if type == "topic": + 51 return ReplyTo(name, subject) + 52else: + 53 return ReplyTo(None, name) + 54 + 55 -def reply_to2addr(reply_to): + 56if reply_to.exchange in (None, ""): + 57 return reply_to.routing_key + 58elif reply_to.routing_key is None: + 59 return "%s; {node: {type: topic}}" % reply_to.exchange + 60else: + 61 return "%s/%s; {node: {type: topic}}" % (reply_to.exchange, reply_to.routing_key) + 62 + 63 -class Attachment: + 64 + 65 - def __init__(self, target): + 66 self.target = target + 67 + 68 # XXX + 69 + 70 DURABLE_DEFAULT=False + 71 + 72 # XXX + 73 + 74 -class Pattern: + 75""" + 76The pattern filter matches the supplied wildcard pattern against a + 77message subject. + 78""" + 79 + 80 - def __init__(self, value): + 81 self.value = value + 82 + 83# XXX: this should become part of the driver + 84 - def _bind(self, sst, exchange, queue): + 85 from qpid.ops import ExchangeBind + 86 + 87 sst.write_cmd(ExchangeBind(exchange=exchange, queue=queue, + 88 binding_key=self.value.replace("*", "#"))) + 89 + 90 SUBJECT_DEFAULTS = { + 91"topic": "#" + 92} + 93 + 94 -def noop(): pass + 95 -def sync_noop(): pass + 96 + 97 -class SessionState: + 98 + 99 - def __init__(self, driver, session, name, channel): + 100 self.driver = driver + 101 self.session = session + 102
[18/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html new file mode 100644 index 000..7cf4caf --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-module.html @@ -0,0 +1,174 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging + + + + + +[frames]|noframes] + + + + + +Package messagingsourcecode +A candidate high level messaging API for python. + Areas that still need work: + + + definition of the arguments for Session.sender and Session.receiver + + + standard Message properties + + + Message content encoding + + + protocol negotiation/multiprotocol impl + + + + + + + + +Submodules + + + + qpid.messaging.address + qpid.messaging.constants + qpid.messaging.driver + qpid.messaging.endpoints: A high level messaging API for python. + qpid.messaging.exceptions + qpid.messaging.message + qpid.messaging.transports + qpid.messaging.util: Add-on utilities for the qpid.messaging API. + + + + + + + + + +Variables + + + + + +__package__ = 'qpid.messaging' + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html new file mode 100644 index 000..fee6ad4 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging-pysrc.html @@ -0,0 +1,154 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging + + + + + +[frames]|noframes] + + + + +Source Code for Package qpid.messaging + + 1 # + 2 # Licensed to the Apache Software Foundation (ASF) under one + 3 # or more contributor license agreements. See the NOTICE file + 4 # distributed with this work for additional information + 5 # regarding copyright ownership. The ASF licenses this file + 6 # to you under the Apache License, Version 2.0 (the + 7 # "License"); you may not use this file except in compliance + 8 # with the License. You may obtain a copy of the License at + 9 # +10 # http://www.apache.org/licenses/LICENSE-2.0 +11 # +12 # Unless required by applicable law or agreed to in writing, +13 # software distributed under the License is distributed on an +14 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +15 # KIND, either express or implied. See the License for the +16 # specific language governing permissions and limitations +17 # under the License. +18 # +19 +20 """ +21 A candidate high level messaging API for python. +22 +23 Areas that still need work: +24 +25- definition of the arguments for L{Session.sender} and L{Session.receiver} +26- standard L{Message} properties +27- L{Message} content encoding +28- protocol negotiation/multiprotocol impl +29 """ +30 +31 from qpid.datatypes import timestamp, uuid4, Serial +32 from qpid.messaging.constants import * +33 from qpid.messaging.endpoints import * +34 from qpid.messaging.exceptions import * +35 from
[13/42] qpid-site git commit: QPID-7691: Update the site for the Qpid Python 1.36.0 release
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.LinkOut-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.LinkOut-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.LinkOut-class.html new file mode 100644 index 000..cccb397 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.LinkOut-class.html @@ -0,0 +1,233 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver.LinkOut + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver :: +ClassLinkOut + + + + + +[frames]|noframes] + + + + + +classobj LinkOutsourcecode + + + + + +Instance Methods + + + + + + + + init_link(self, +sst, +snd, +_snd) + +sourcecode + + + + + + + + + + + + + + do_link(self, +sst, +snd, +_snd, +type, +subtype, +action) + +sourcecode + + + + + + + + + + + + + + do_unlink(self, +sst, +snd, +_snd, +action=function noop at 0x7f206cb55398) + +sourcecode + + + + + + + + + + + + + + del_link(self, +sst, +snd, +_snd) + +sourcecode + + + + + + + + + + + + + +Class Variables + + + + + +ADDR_NAME = 'target' + + + + + + +DIR_NAME = 'sender' + + + + + + +VALIDATOR = Map(TARGET_OPTS) + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html new file mode 100644 index 000..ba8b654 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/qpid.messaging.driver.Pattern-class.html @@ -0,0 +1,143 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + qpid.messaging.driver.Pattern + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + + +Packageqpid :: +Packagemessaging :: +Moduledriver :: +ClassPattern + + + + + +[frames]|noframes] + + + + + +classobj Patternsourcecode +The pattern filter matches the supplied wildcard pattern against a + message subject. + + + + + + +Instance Methods + + + + + + + + __init__(self, +value) + +sourcecode + + + + + + + + + + + + + Home + + + Trees + + + Indices + + + Help + + + + + http://qpid.apache.org/index.html;>Qpid Python Messaging API + + + + + + +Generated by Epydoc 3.0.1 + + + http://epydoc.sourceforge.net; +>http://epydoc.sourceforge.net + + + + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.constants-module.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.constants-module.html b/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.constants-module.html new file mode 100644 index 000..bb47268 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.constants-module.html @@ -0,0 +1,37 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + constants + + + + + +Module constants + + Classes +Constant Variables +AMQPS_PORTAMQP_PORTREJECTEDRELEASEDUNLIMITED__SELF____package__ + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.driver-module.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.driver-module.html b/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.driver-module.html new file mode 100644 index 000..b0e2026 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.driver-module.html @@ -0,0 +1,70 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + driver + + + + + +Module driver + + Classes +AttachmentCacheDriverEngineLinkInLinkOutPatternSessionState Functions +addr2reply_toget_bindingsnoopreply_to2addrsync_noop Variables +BINDINGSCLOSEDCOMMON_OPTSCONNECTION_ERRSDECLAREDEFAULT_DISPOSITIONDURABLE_DEFAULTEMPTY_DPEMPTY_MPHEADEROPENPOLICIESREAD_ONLYRECEIVE_MODESRELIABILITYSESSION_ERRSSOURCE_OPTSSUBJECTSUBJECT_DEFAULTSTARGET_OPTSWRITE_ONLY__package__baseslognameopslograwlog + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.endpoints-module.html -- diff --git a/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.endpoints-module.html b/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.endpoints-module.html new file mode 100644 index 000..51ed570 --- /dev/null +++ b/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.endpoints-module.html @@ -0,0 +1,33 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + endpoints + + + + + +Module endpoints + + Classes +ConnectionEndpointReceiverSenderSession + + + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/55375a76/input/releases/qpid-python-1.36.0/messaging-api/api/toc-qpid.messaging.exceptions-module.html --
svn commit: r18739 - in /release/qpid/python/1.36.0: ./ qpid-python-1.36.0.tar.gz qpid-python-1.36.0.tar.gz.asc qpid-python-1.36.0.tar.gz.md5 qpid-python-1.36.0.tar.gz.sha
Author: jross Date: Tue Mar 14 17:56:19 2017 New Revision: 18739 Log: QPID-7691: Add Qpid Python 1.36.0 release artifacts Added: release/qpid/python/1.36.0/ release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz (with props) release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.asc (with props) release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.md5 release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.sha Added: release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz == Binary file - no diff available. Propchange: release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz -- svn:mime-type = application/x-gzip Added: release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.asc == Binary file - no diff available. Propchange: release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.asc -- svn:mime-type = application/pgp-signature Added: release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.md5 == --- release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.md5 (added) +++ release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.md5 Tue Mar 14 17:56:19 2017 @@ -0,0 +1 @@ +637497e9ead1c94cfebf92a9584a8927 qpid-python-1.36.0.tar.gz Added: release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.sha == --- release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.sha (added) +++ release/qpid/python/1.36.0/qpid-python-1.36.0.tar.gz.sha Tue Mar 14 17:56:19 2017 @@ -0,0 +1 @@ +704782f76c7efba1433ec34cd5c12bf03c3c345adc49ba9f8b5e287c7d3e4f8f9e5b90d0acde39a592d425fb78761ca7c5ba5c5a7a8afbada83af615c702a9e5 qpid-python-1.36.0.tar.gz - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-site git commit: QPID-7697: Add stubs for Qpid Interop Test; various minor improvements
Repository: qpid-site Updated Branches: refs/heads/asf-site ed580ca0d -> 80510a543 QPID-7697: Add stubs for Qpid Interop Test; various minor improvements Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/80510a54 Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/80510a54 Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/80510a54 Branch: refs/heads/asf-site Commit: 80510a543e01411d7cc6eddf1b0167bf30a2004e Parents: ed580ca Author: Justin RossAuthored: Sat Mar 4 12:41:48 2017 -0800 Committer: Justin Ross Committed: Mon Mar 13 16:56:54 2017 -0700 -- Makefile | 51 +++--- content/components/interop-test/index.html | 198 +++ content/dashboard.html | 6 + content/releases/index.html| 4 + input/_transom_config.py | 21 ++- input/components/index.md | 6 +- input/components/interop-test/index.md | 63 input/dashboard.md | 20 +++ input/documentation.md | 19 +++ input/download.md | 5 + input/releases/index.md| 4 + python/generate.py | 7 +- scripts/gen-interop-test-release-notes | 74 + scripts/gen-interop-test-release-page | 201 14 files changed, 643 insertions(+), 36 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/80510a54/Makefile -- diff --git a/Makefile b/Makefile index 06ddede..819133a 100644 --- a/Makefile +++ b/Makefile @@ -103,39 +103,42 @@ clean: gen-amqp-type-reference: scripts/gen-amqp-type-reference misc/amqp > input/amqp/type-reference.html.in -.PHONY: gen-proton-release -gen-proton-release: gen-proton-release-page gen-proton-release-notes gen-proton-release-api-doc gen-proton-release-examples - -.PHONY: gen-proton-j-release -gen-proton-j-release: gen-proton-j-release-page gen-proton-j-release-notes gen-proton-j-release-api-doc +.PHONY: gen-cpp-release +gen-cpp-release: gen-cpp-release-page gen-cpp-release-notes gen-cpp-release-api-doc gen-cpp-release-examples gen-cpp-release-books .PHONY: gen-dispatch-release gen-dispatch-release: gen-dispatch-release-page gen-dispatch-release-notes gen-dispatch-release-books +.PHONY: gen-interop-test-release +gen-interop-test-release: gen-interop-test-release-page gen-interop-test-release-notes + .PHONY: gen-java-release gen-java-release: gen-java-release-page gen-java-release-notes gen-java-release-books gen-java-release-examples .PHONY: gen-jms-release gen-jms-release: gen-jms-release-page gen-jms-release-notes gen-jms-release-docs -.PHONY: gen-cpp-release -gen-cpp-release: gen-cpp-release-page gen-cpp-release-notes gen-cpp-release-api-doc gen-cpp-release-examples gen-cpp-release-books +.PHONY: gen-proton-release +gen-proton-release: gen-proton-release-page gen-proton-release-notes gen-proton-release-api-doc gen-proton-release-examples + +.PHONY: gen-proton-j-release +gen-proton-j-release: gen-proton-j-release-page gen-proton-j-release-notes gen-proton-j-release-api-doc .PHONY: gen-python-release gen-python-release: gen-python-release-page gen-python-release-notes gen-python-release-api-doc gen-python-release-examples -gen-proton-release-%: RELEASE_DIR := input/releases/qpid-proton-${RELEASE} -gen-proton-release-%: - scripts/gen-proton-release-$* ${RELEASE} ${ISSUES_RELEASE} ${SOURCE_RELEASE} ${RELEASE_DIR} ${CHECKOUT_DIR} - -gen-proton-j-release-%: RELEASE_DIR := input/releases/qpid-proton-j-${RELEASE} -gen-proton-j-release-%: - scripts/gen-proton-j-release-$* ${RELEASE} ${ISSUES_RELEASE} ${SOURCE_RELEASE} ${RELEASE_DIR} ${CHECKOUT_DIR} +gen-cpp-release-%: RELEASE_DIR := input/releases/qpid-cpp-${RELEASE} +gen-cpp-release-%: + scripts/gen-cpp-release-$* ${RELEASE} ${ISSUES_RELEASE} ${SOURCE_RELEASE} ${RELEASE_DIR} ${CHECKOUT_DIR} gen-dispatch-release-%: RELEASE_DIR := input/releases/qpid-dispatch-${RELEASE} gen-dispatch-release-%: scripts/gen-dispatch-release-$* ${RELEASE} ${ISSUES_RELEASE} ${SOURCE_RELEASE} ${RELEASE_DIR} ${CHECKOUT_DIR} +gen-interop-test-release-%: RELEASE_DIR := input/releases/qpid-interop-test-${RELEASE} +gen-interop-test-release-%: + scripts/gen-interop-test-release-$* ${RELEASE} ${ISSUES_RELEASE} ${SOURCE_RELEASE} ${RELEASE_DIR} ${CHECKOUT_DIR} + gen-java-release-%: RELEASE_DIR := input/releases/qpid-java-${RELEASE} gen-java-release-%: scripts/gen-java-release-$* ${RELEASE} ${ISSUES_RELEASE} ${SOURCE_RELEASE} ${RELEASE_DIR} ${CHECKOUT_DIR} @@ -144,18 +147,18 @@
qpid-python git commit: QPID-2524: Always use the file:// prefix
Repository: qpid-python Updated Branches: refs/heads/master 11bc3d7b9 -> 0c7e96af4 QPID-2524: Always use the file:// prefix Project: http://git-wip-us.apache.org/repos/asf/qpid-python/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-python/commit/0c7e96af Tree: http://git-wip-us.apache.org/repos/asf/qpid-python/tree/0c7e96af Diff: http://git-wip-us.apache.org/repos/asf/qpid-python/diff/0c7e96af Branch: refs/heads/master Commit: 0c7e96af4e540df26372f8e4dd2f7f1b0a997ffd Parents: 11bc3d7 Author: Justin RossAuthored: Sat Mar 11 12:51:38 2017 -0800 Committer: Justin Ross Committed: Sat Mar 11 12:51:38 2017 -0800 -- mllib/__init__.py | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-python/blob/0c7e96af/mllib/__init__.py -- diff --git a/mllib/__init__.py b/mllib/__init__.py index af192df..7d0ba99 100644 --- a/mllib/__init__.py +++ b/mllib/__init__.py @@ -66,12 +66,7 @@ class Resolver: return InputSource(systemId) def xml_parse(filename, path=()): - if sys.version_info[0:2] == (2,3): -# XXX: this is for older versions of python -from urllib import pathname2url -source = "file:%s" % pathname2url( os.path.abspath( filename ) ) - else: -source = filename + source = "file://%s" % os.path.abspath(filename) h = parsers.XMLParser() p = xml.sax.make_parser() p.setContentHandler(h) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[2/3] qpid-cpp git commit: QPID-7698: Correct the qpid-python version printed in the dependency check script
QPID-7698: Correct the qpid-python version printed in the dependency check script Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/8054f71c Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/8054f71c Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/8054f71c Branch: refs/heads/master Commit: 8054f71cedb29b88e43a5294a348a6a133e3a87c Parents: 4a5567d Author: Justin RossAuthored: Sat Mar 11 12:08:42 2017 -0800 Committer: Justin Ross Committed: Sat Mar 11 12:08:42 2017 -0800 -- src/tests/check_dependencies.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/8054f71c/src/tests/check_dependencies.py.in -- diff --git a/src/tests/check_dependencies.py.in b/src/tests/check_dependencies.py.in index ef69fc1..57eb760 100755 --- a/src/tests/check_dependencies.py.in +++ b/src/tests/check_dependencies.py.in @@ -27,7 +27,7 @@ def _message(error): === Error! {0} -The tests require Qpid Python, version 1.33 or greater. Make sure +The tests require Qpid Python, version 1.35.0 or greater. Make sure Qpid Python is installed and available on the Python path: - Linux distributions: Install 'python-qpid' - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org