| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1354075 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Fixed bugs identified in testing.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1354074 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
providing high level failover based on "stop-the-world" concept.
Added an abstraction for Failover strategy.
Renamed the ConnectionStateListener to ConnectionEventListener and added
a ConnectionEvent class to notify various connection events. The
experimental failover implementation makes use of this.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1354073 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1351373 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1351372 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
extensions but a set of interfaces used by the internal implementations
classes. The packages was also renamed from "ext" to "internal".
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1351370 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
String, Map and List message.
Fixed several bugs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1351025 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Native. This allows me to just use NativeMessage instead of
o.a.q.messaging.cpp.jni.Message to prevent a clash with Java Message
interface.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350711 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
implementation. A bit more cleanup and testing needs to be done.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350710 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
of version and/or implementation specific delegates to a concrete
implementation.
Created a concrete implementation for 0-10 and the c++/jni implementations. For the time
being the c++/jni implementation assumes 0-10 only, hence directly extending the 0-10 impl.
Added MessageInternal interface, intended for API impelementors.
The MessageFactories implementations provides String, Map and List
message support in addition to creating version/implementation specific
delegates.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350709 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
respective MessageFactory that can be used or creating messages or
decoding content for messages received. Since a connection object will
contain the AMQP version it would be the logical place to provide this
reference.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350708 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
StringMessage is not really 0-10 specific. When we add AMQP 1.0 support,
perhaps we could have a AbstractMessageFactory which contains the common
stuff.
Added GenericMessageAdapter to be used as a base for all kinds of
Message adapters.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350707 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
content types.
Added a MessageFactory to create concrete Message objects with given
content. It can also decode a generic message object in a specific
content type such as String, Map or List. This is useful if you don't
want to cast your message into a specific sub interface type.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350706 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
to ensure that the underlying c++ objects don't leak.
Filled in blank methods and another round of bug fixing.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350704 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350703 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
Added convinience class that converts java long timeout to the C++
Duration object.
Added ReceiverManagementDecorator and SenderManagementDecorator that
provides state management and error handling via the decorator pattern
for a Receiver and a Sender respectively.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350702 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
to throw the required exceptions.
TODO: Add Java doc to denote type of exceptions that could be thrown.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350701 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Changed the JNILayerException to extend the MessagingException.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350700 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as opposed to inheritence. ConnectionManagementDecorator and
SessionManagementDecorator adds common session/connection management,
state management, error handling etc.
The decorator approach allows us to add/remove functionality easily and
to isolate logic without assuming/depending on base classes like we do
with our current client.
Added some extension interfaces under the "ext" package that facilitates
the implementation of the API. This package is not intended to be
visible to the users.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350699 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
mnotify encoding/decoding related errors and write operations on Immutable messages.
Modified the API classes to include exceptions.
Added an Adapter to make a message immutable.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1350698 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
The structure here closely follows the C++ model. The next step is to
incoporate these exceptions into the API classes. More classes may need
to be added.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1348684 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
"%extend" directive. Used the same for moving the methods I introduced in
Mesage.h to java.i interface file. The BYTE_BUFFER struct is also moved
into the swig file. The only extra methods we need to add to Message.h
is to get/set the message headers as raw bytes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1348683 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
returned with being assigned to a local jobject, as it then looses the
type information when received at the Java layer.
The code now avoids using cached JNIEnv pointers as if it gets called
from a different thread the ref will be now and a seg fault will occur.
The encoding type is set for String properties.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1348682 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
The message header stuff are still a bit flaky and needs to polished.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1347733 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
method. Using static_cast instead of the "C" style casts.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1347728 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
code.
Added Apache License to the files missing the header.
Adding the updated qpid_cpp_jni.jar
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1347724 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
wrapped c++ Variant::Map. Maps returned to the java code are read only.
Need to add code to translate a java.util.Map into a Variant::Map
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1344841 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
implementation as a POC.Can send and receive a message atm.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1343748 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Adding a connection factor class that loads various implementaitons.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1343747 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
for folks who like to review the code in their editor. Added a
client-jms module to move the new destination work and house the new jms
work. This makes reviewing a bit easy and also allows the possiblity of
the new and old client code to live side by side until we make a
decision to archive the old client. At some point we need to trim the
common module to contain code that is truly common to both broker and
clients.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1339264 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
classes will be removed when the work is completed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1338485 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
object from a BURL.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1338484 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
just a destination string. Add a method in QpidTopic for creating a
DurableTopic using the "topic" information contained within the object.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1338483 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
final and should be passed in the constructor.Introduced a new class to
hold the data given by the existing address parser. TODO The toString field needs
to be constructed. The intermediate class AddressRaw can be eliminated
with a more clever parser.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1338482 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Node and Link now take all values in the constructor instead of setters
to make it clear that these objects are immutable.
Moved all the address enums into their own classes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1337208 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1336908 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1336907 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
initialized. All maps/lists returned by them are wrapped with
unmodifiable map/lists. All setter methods will throw an exception once
they are marked read-only.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1336878 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
the Node and Link data structures are populated. Marked member variables
in Link and Node as private. Fixed leading/trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1336444 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Moved the destination syntax stuff into DestinationStringParser.
Each implementation now provides a getType() method to denote if it's a
Queue or Topic rather than carrying it as a member variable.
Made corrections to formatting and leading/trailling spaces.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1336443 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1309768 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
Generating temp queue name, topic name as well as deleting temp
destinations is abstracted via the TemporaryDestinationProvider
interface. This keeps the Destination implementation independent of any
session implementation. These classes can then be used with the old
AMQSessionxx variants or with any new implementation.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1309392 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Address data structure (link and node).
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1309374 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
populate Node and Link data structures.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1309341 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1300145 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
implementation, which will be used by the common methods in the abstract
implementation to make decisions based on the type.
Added the DestinationStringParser which will parse an Address string or a BURL
string and populate an Address data structure.
Added an AddressHelper class to extract information from the address
string.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1297167 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
address strings after it's being parsed.The Address object now contains
a Node and Link object that contains the same info as in the options but
in a more accessible way.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1297166 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
The Destination objects would be immutable.
The base class QpidDestination which implements javax.jms.Destination is
an abstract class.
QpidTopic and QpidQueue which implements the respective Topic and
Queue interfaces provides a concrete implementation.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1297165 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Added a getMap() and getList()method to the Accessor interface.
Added a NestedMapAccessor which will traverse nested map in order to
find a property.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1297160 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the changes in this JIRA
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295348 13f79535-47bb-0310-9956-ffa450edef68
|