| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
to their own git repositories
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1751566 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
- This is already the way we do this stuff in Qpid Proton
- Upgrade minimum version of CMake to 2.8.7
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735324 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
https://github.com/gaborsulyok
This closes #8
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1694323 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
manipulation
Mirrors C++ example URL: http://svn.apache.org/r1693139
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1693164 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Relax requirement for boost/include dir. Boost.org upstream builds don't
have them.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1690816 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1690787 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Leaving cmake as-is, this patch adds current VS build folder to the PATH.
It further adds an arg to make-install.bat to select a build configuration:
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1688738 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
The activemq broker appears not to respect the AMQP drain flag, so calling fetch() on
an empty queue hangs. Use get() with a timeout instead to drain the queues.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1641027 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
binary
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624795 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Rename msvc10 folders to msvcx as they hold files 2010, 2012, ...
Change projects/solutions to .in templates and cmake configure them.
Collapse common example csproj files into common template.
Add cmake BUILD_BINDING_DOTNET option setting.
Fix up various scripts to accomodate new studio version.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624604 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624570 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with failover.
This is partly not-a-bug, there is a client error handling issue that has been
corrected.
qpid-txtest2 initializes a queue with messages at the start and drains the
queues at the end. These operations are *not transactional*. Therefore
duplicates are expected if there is a failover during initialization or
draining. When duplicates were observed, there was indeed a failover at one of
these times.
Making these operations transactional is not enough to pass, now we see the test
fail with "no messages to fetch". This is explained as follows:
If there is a failover during a transaction, TransactionAborted is raised. The
client assumes the transaction was rolled back and re-plays it. However, if the
failover occurs at a critical point *after* the client has sent commit
but *before* it has received a response, then the the client *does not know*
whether the transaction was committed or rolled-back on the new primary.
Re-playing in this case can duplicate the transaction. Each transaction moves
messages from one queue to another so as long as transactions are atomic the
total number of messages will not change. However, if transactions are
duplicated, a transactional session may try to move more messages than exist on
the queue, hence "no messages to fetch". For example if thread 1 moves N
messages from q1 to q2, and thread 2 tries to move N+M messages back, then
thread 2 will fail.
This problem has been corrected as follows: C++ and python clients now raise the
following exceptions:
- TransactionAborted: The transaction has definitely been rolled back due to a
connection failure before commit or a broker error (e.g. a store error) during commit.
It can safely be replayed.
- TransactionUnknown: The transaction outcome is unknown because the connection
failed at the critical time. There's no simple automatic way to know what
happened without examining the state of the broker queues.
Unfortunately With this fix qpid-txtest2 is no longer useful test for TX
failover because it regularly raises TransactionUnknown and there's not much we
can do with that.
A better test of TX atomicity with failover is to run a pair of
qpid-send/qpid-receive with fail-over and verify that the number of
enqueues/dequeues and message depth are a multiple of the transaction size. See
the JIRA for such a test. (Note these test also sometimes raise
TransactionUnknown but it doesn't matter since all we are checking is that
messages go on and off the queues in multiple of the TX size.) )
Note: the original bug also reported seeing missing messages from
qpid-txtest2. I don't have a good explanation for that but since the
qpid-send/receive test shows that transactions are atomic I am going to let that
go for now.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621211 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of shared.
FindPythonLibs on older versions of cmake (observed on cmake-2.6.4-5.el5.4)
sometimes finds the static archive library (.a) before the shared object
library (.so) This is almost never what you want. Newer
versions (e.g. cmake-2.8.12.2-2.fc20.x86_64) explicitly look for the .so first
and look for the .a library second.
This workaround fixes the problem as follows:
- It is a no-op except on Unix platforms that use the .so prefix.
- On those platforms it does a search for .so only first.
- Finally we do a default search for other platforms (or if .so was not found)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620888 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of shared."
This patch seems to cause various build problems, will put it back when I figure
out what is going wrong.
------------------------------------------------------------------------
r1620424 | aconway | 2014-08-25 16:10:52 -0400 (Mon, 25 Aug 2014) | 13 lines
NO-JIRA: Work-around bug in older cmake, finds static python library instead of shared.
FindPythonLibs on older versions of cmake (observed on cmake-2.6.4-5.el5.4)
sometimes finds the static archive library (.a) before the shared object
library (.so) This is almost never what you want. Newer
versions (e.g. cmake-2.8.12.2-2.fc20.x86_64) explicitly look for the .so first
and look for the .a library second.
This workaround fixes the problem as follows:
- It is a no-op except on Unix platforms that use the .so prefix.
- On those platforms it does a search for .so only first.
- Finally we do a default search for other platforms (or if .so was not found)
------------------------------------------------------------------------
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620738 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of shared.
FindPythonLibs on older versions of cmake (observed on cmake-2.6.4-5.el5.4)
sometimes finds the static archive library (.a) before the shared object
library (.so) This is almost never what you want. Newer
versions (e.g. cmake-2.8.12.2-2.fc20.x86_64) explicitly look for the .so first
and look for the .a library second.
This workaround fixes the problem as follows:
- It is a no-op except on Unix platforms that use the .so prefix.
- On those platforms it does a search for .so only first.
- Finally we do a default search for other platforms (or if .so was not found)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620424 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
The module's not on the @INC path, and really shouldn't be since it's
only used by the tests. So now the tests programmatically update @INC to
include their directory as a part of the path, and find utils.pm.
Fixed the failing Message.t file as well, which includes tests for
methods that are deprecated.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619181 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Fix GetContentObject return value warning.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1615992 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614890 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Updated the Perl client/server examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614889 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Don't require an unused argument just to keep connectionOptions as arg[2]
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605112 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603302 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
- This means they can be used in the bindings.
- It also means that individual modules do not have to specify
to catch undefined symbols as this is the default beahviour now.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603064 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
qpid/Options.h
- The intent here is to remove the necessity for things using qpid::Options to
need to link boost::program_options directly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602021 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
In Ruby > 1.8 the regular expression worked as is. But in 1.8 it
requires that the braces be escaped.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598629 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
The hello_world and map_receiver examples had a one-off error when
getting command line arguments. This patch points them back to the
correct arguments.
Contributed by Zdenek Kraus <zkraus@redhat.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591006 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Changes function signature to: object = message.GetContentObject()
Adds self tests using SetContentObject and GetContentObject.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589496 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HA tests were using only AMQP 0-10.
Modified the tests to use AMQP 1.0 if available (still use 0-10 if 1.0 is not available)
Fixed bugs uncovered both in the tests and in the AMQP 1.0 implementation.
Summary of changes:
- brokertest.py: configurable support for of swig vs. native and amqp0-10 vs. 1.0
- default to swig+amqp1.0 if swig is available, native+amqp0-10 otherwise
- qpidtoollibs/broker.py: enable use of swig client with BrokerAgent
- Swig python client:
- support for passing client_properties/properties.
- expose AddressHelper pn_data read/write as PnData helper class
- set sender/receiver capacity on creation
- limited disposition support - rejected messages.
- support for additional timeout parameters
- expose messaging::Logger, allow log configuration to be set from python.
- ha_tests.py:
- bind, delete policies not supported by AMQP 1.0, switched to using BrokerAgent QMF.
- pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, qpid-receive)
- TX tests forsce use of 0-10 protocol (but still with Swig client if enabled.)
- Broker fixes:
- Queue::Settings::isTemporary was set in the 0-10 SessionAdapter, moved to Broker::createQueue.
- broker::amqp::Session was always setting an exclusive owner in createQueue
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585588 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Emit a make-install.bat. Install failures from within VS gui are hidden
but are in plain sight from the command line.
Fix a couple of bad references to boost root directory.
Turn off INSTALL_QMFGEN to preclude install failures
Replace hard tabs with spaces.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580210 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Buried deep in cpp\bindings\qpid\dotnet is a script configure-windows.ps1. This script originally came into being to support the .NET binding, which is a .NET project that has no support from CMake. The script gathers the facts of where cmake runs and where boost comes from and embeds the environment into launch scripts used to start the .NET binding solution(s). Then the .NET solution can link naturally to the rest of the cmake project environment.
Before this commit the script was very liberal about where one could root a build (run cmake). This patch forces some order onto the build and install directories to ease integration with proton. I use a couple of conventions and it makes life much easier.
1. Map some drives.
Drive P: maps to the root of a proton checkout
Drive Q: maps to the root of a qpid checkout
Strictly speaking this is not necessary and if you use this scheme then you must be careful about the drive mappings. If you get them wrong then your builds will be confused.
2. Use fixed names for the studio/platform builds and installs.
Builds go to:
P:\build_2008_x86 Q:\build_2008_x86
P:\build_2008_x64 Q:\build_2008_x64
P:\build_2010_x86 Q:\build_2010_x86
P:\build_2010_x64 Q:\build_2010_x64
Installs go to:
Q:\install_2008_x86
Q:\install_2008_x64
Q:\install_2010_x86
Q:\install_2010_x64
That is, cmake for a VS2010 32-bit build is run in P:\build_2010_x86 and Q:\build_2010_x86
But both of these builds use -DCMAKE_INSTALL_PREFIX=Q:\install_2010_x86 to install into the same place.
3. To build qpid with proton support: build and install proton first and then build and install qpid.
To build qpid with no proton support: just build and optionally install qpid.
Other fixes to this script are:
* Adds --help option
* It does only one studio/platform at a time. It doesn't mix 32- and 64-bit builds together.
* It is callable from the command line:
> cd cpp\bindings\qpid\dotnet
> powershell -ExecutionPolicy unrestricted .\configure-windows.ps1 2010-x86 c:\boost-win-1.47-32bit-vs2010
It will create the canonical build directory and run cmake in it.
* A new batch file is emitted that has the exact cmake command used.
You can use this to rerun cmake without rerunning any powershell.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579734 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Added the feature and updated the rspec tests and examples to use
content_object for retrieving data.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576357 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571470 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Dereference proper arg.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570603 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Updated the spout and drain examples to use this rather than
encode/decode to retrieve the content of a message.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567173 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Changed the swig descriptors so that they use a constant format string.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565651 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Expose the cmake command lines as they are executed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1562539 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560529 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
and 0-10
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560395 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1559021 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
getUrl() added
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558911 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setProperties(Variant::Map&) added
The .NET binding already had a Properties setter but it behaved worked by doing
recursive property Add and not a wholesale replace. This patch calls the new
setProperty method to get the correct behavior.
The Properties property does non trivial calls into the unmanaged code. This
patch also intercepts unmanaged exceptions from get and set and relays them
into managed space.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558899 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
getters added
The .NET Binding already had the bytes constructor and the getContentBytes methods.
This patch adds getContentObject/setContentObject interfaces.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558619 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
'Address getAddress()' added
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558549 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558481 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551312 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Reported by RAT on qpid-0.26-rc1
Generated at: 2013-12-15T18:48:44+00:00
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551262 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
rebuilding the python swig bindings unnecessarily
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547933 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545776 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
used by applications
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545368 13f79535-47bb-0310-9956-ffa450edef68
|