You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2013/03/04 22:07:35 UTC
svn commit: r1452520 -
/qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ReceiverContext.cpp
Author: astitcher
Date: Mon Mar 4 21:07:18 2013
New Revision: 1452520
URL: http://svn.apache.org/r1452520
Log:
NO-JIRA: Changed subject filter to use described value now proton bug should be fixed.
Modified:
qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ReceiverContext.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ReceiverContext.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ReceiverContext.cpp?rev=1452520&r1=1452519&r2=1452520&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ReceiverContext.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/ReceiverContext.cpp Mon Mar 4 21:07:18 2013
@@ -126,12 +126,11 @@ void ReceiverContext::configure(pn_termi
pn_data_put_map(filter);
pn_data_enter(filter);
pn_data_put_symbol(filter, convert("subject"));
- //TODO: At present inserting described values into the map doesn't seem to work; correct this once resolved
- //pn_data_put_described(filter);
- //pn_data_enter(filter);
- //pn_data_put_ulong(filter, getFilterDescriptor(address.getSubject()));
+ pn_data_put_described(filter);
+ pn_data_enter(filter);
+ pn_data_put_ulong(filter, getFilterDescriptor(address.getSubject()));
pn_data_put_string(filter, convert(address.getSubject()));
- //pn_data_exit(filter);
+ pn_data_exit(filter);
pn_data_exit(filter);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org