| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-cpp-0.34-rc/qpid@1687472 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1687094 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
call to get already)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1686476 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1686441 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 0-10 path no longer hans on open when connecting to a broker not
supporting that version
* the 'protocol' connection option now supports specifying multiple
protocols to try in order (as a coma separated list)
* the protocol defaults, i.e. the value assumed if the 'protocol'
connection option is not specified, can now be set via the client
config file (e.g. protocol-defaults=amqp1.0,amqp0-10) or an
environment variable (e.g QPID_PROTOCOL_DEFAULTS=amqp1.0,amqp0-10)
* if neither the connection option nor the defaults are specified
all valid versions will be tried (currently amqp0-10, then amqp1.0
but this may change in a future version)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1686078 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
For AMQP 1.0 connections, this patch adds identification information
to the connection properties in the open performative.
For AMQP 0-10 connections, this information is provided in the
server-properties argument of the connection.start control.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1685995 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1685594 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1685587 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1685120 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1684716 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1684680 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1683379 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
ConnectionHandler no longer (since 2008-05-21) deals directly with auth.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1682469 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1682440 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1682007 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
sending many DTX transactions
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1680861 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
"ConnectionError: connection-forced: Connection must be encrypted.(320)"
The qpidd init script uses qpid-ha to probe the state of the broker.
In the bug reported security configuration on the broker was preventing qpid-ha from connecting.
The qpid-ha checks are only necessary when HA is configured, so this commit disables those
checks if it is not configured.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1680552 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the broker was writing a PID file with the port number as a suffix.
This was confusing the tools when using SSL and no explicit port, as the actual
listening port is 5671 but qpidd -c was looking for 5672.
This commit introduces a simple --pidfile option which writes the pid exactly
where you tell it with no frills. The original port-pidfile setup is over
complex and not really necessary, it can be deprecated at some future time.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1680550 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1680478 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Race conditions in ha_tests.
Typo in skip logic for interop_test when recent proton not available.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1680422 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1679556 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Warning was: "no suitable definition provided for explicit template instantiation request". This fix simply mirrors the code in messaging/Handle.h.
(Finally *removing* an EXTERN storage-class attribute fixes a build!)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1679024 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1679012 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
compilers/boost versions.
This fixes compile errors seen on gcc-c++-4.1.2-55.el5, boost-devel-1.33.1-16.el5_9
Float/double conversion and template matching issues.
Probably down to boost, but might be gcc related.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1678246 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1678094 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1677680 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Do not negotiate SASL EXTERNAL or PLAIN if no username is
specified. Note that a blank PLAIN password is allowed.
2. If SASL ANONYMOUS is negotiated then return a response of
"anonymous@<hostname>", which is what the linux client returns.
The client provides a username for the host in all cases.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1677224 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1677197 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
held
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1677064 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
thanks to Alan Conway for the working patch!
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1677016 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1676982 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Get current level: qpid-config log
Set new level: qpid-config log <newlevel>
Fixed bugs in getLogLevel and in handling invalid log levels.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1676333 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Previous code would incorrectly convert between float and int types producing nonsense values,
and would not allow legal conversions between float and double types.
Created FixedWidthIntValue and FixedWidthFloatValue template subclasses to correctly
handle conversions. Enabled FieldValue unit tests for float conversions.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1674137 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
it will be immediately followed by a detach due to error
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1673949 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch from Scott M Stark.
Reviewed at https://reviews.apache.org/r/33195
This patch worked fine in my tests with the exception that using the install
command 'cmake -DCOMPONENT=development -P src/cmake_install.cmake' executes
the install but does not produce an install_manifest.txt file. While not
essential the install_manifest.txt files are part of my routine housekeeping.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1673897 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1672639 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1671530 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1671128 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is called.
When calling getFloatingPointValue multiple times, the octets are endian-converted each time.
Actually we need to make a copy first and then call convertIfRequired().
This fix is from a pull request by Pavel Pokutnev (see the JIRA).
commit 4ed0ce9c9b74b136c49735b19efb80489aa495a3
His original patch was correct, I made some additions:
- Added a unit test: qpid/cpp/src/tests/FieldValue.cpp
- Fixed some incorrect uses of "const" in nearby code.
- Replaced a for loop with std::copy, more readable and more optimizable.
There are still serious problems with float conversion shown up by the unit tests,
the relevant tests are commented out till these issues are fixed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1671125 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1671124 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
exist before trying to delete them
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1669208 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
two-hyphen to one. Fixes QPID-6399.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1667349 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1665954 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Fixed a couple of legitimate compiler warnings, worked around a couple of compiler weaknesses.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1664517 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
RHEL5 compiler choked on some boost template magic, simplified the test.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1664479 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
processing
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1664313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
fail existing tests when either ptoron python lib is not on path or is 0.7 or earlier
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1664144 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1663828 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements the "transactional retire and settle immediately" option for
transactions as specified in AMQP 1.0 in the qpid::messaging C++ client.
NOTE: Transactions over AMQP 1.0 require proton 0.9 or greater. With older
versions, attempting a transactions over AMQP 1.0 will raise a link-detached
exception "Node not found: tx-transaction"
1. Added descriptor list to Variant with support in Encoder and PnData.
Required to support transactions, need to be able to create described lists.
Variant changes are source and binary compatible.
A Variant now has a Variant::List of descripors which can be numeric or string.
Nested descriptors are implemented by putting multiple descriptors in the list.
Other minor changes:
- Variant refactor: don't delete impl on every assignment.
- Add Variant constructors that take a string encoding.
(new constructors, not defaulted arguments, so the change is binary and source compatible.)
- Growable buffer support for Encoder.
- Printing described Variant prints descriptors in form @descriptor value
2. Added transaction support to AMQP 1.0 client code
Added messaging/amqp/Transaction.h,cpp: transaction logic
- communicate with coordinator, send declare/dischange messages.
- add tx state info to transfers and acknowledgements.
- Sync session after discharge.
- A transactional session automatically acks any message retrieved by fetch/get
to bring them into the transaction. This is consistent the 0-10 client.
Minor fixes to existing client code:
- Fix use of pn_drain API in C++ client to work with C++ and Java brokers.
- Make amqp::Exception derive from qpid::Exception
3. Fixes to existing broker code:
- Incoming.cpp fix: start async completion before processing message.
- Delay accept of dischage message till commit is complete.
- newSession - handle failover during session creation.
4. Added tests
interop_tests.py: transaction tests that can run against an external broker, see comments.
ha_tests.py: Enable transaction tests over AMQP 1.0.
Minor test fixes:
- brokertest.py don't set default logging if QPID_LOG env vars set.
- brokertest.py Pass kwargs to broker() create function.
- qpid-receive: capacity should never be larger than message count.
- Accept user:pass as well as user/pass in Url.
- brokertest.py: Always do a ready() check on all brokers.
If proton < 0.9 is used, transaction tests will be skipped or will downgrade to
the amqp0-10 protocol with a printed warning.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1662743 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1662597 13f79535-47bb-0310-9956-ffa450edef68
|