-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the date set on the message is not sent over as a brokerproperty #109
Comments
update service bus topic.
The date of the returning message is set using the Date header of the message. This value is set by the server. |
if setting date on the client side even does not make sense, then current behavior actually makes sense. |
according to this documentation, date is not present as a field that should ever been sent to service bus, thus current behavior is totally correct. we should close it as won't fix. |
close this won't fix issue |
Cumulative changes in runtime
Fixed CODEOWNERs syntax
Dev estimate: 3
Test estimate: 0.5
Moved from the private repo.
Initial Issue:
Message m = new Message("test");
m.setDate(new Date(0L));
service.sendQueueMessage(queuename,m);
Actual:
Brokerproperties doesn't contain the date time set
POST https://deepakv.servicebus.windows.net/myq/messages
8 > BrokerProperties: {}
8 > Authorization: WRAP access_token
Expected:
brokerproperty to have the datetime set
Comments:
For me for the following code it didn't send the date (this issue was assigned to check the issue if only with 0L )
Nov 30, 2011 1:51:34 PM com.sun.jersey.api.client.filter.LoggingFilter log
INFO: 5 * Client out-bound request
5 > POST https://javasdksb.servicebus.windows.net/myq/messages
5 > Content-Type: text/xml
5 > BrokerProperties: {"MessageId":"1","Label":"fakelable","ReplyTo":"[email protected]"}
5 > name: "test"
5 > Authorization: WRAP access_token="net.windows.servicebus.action=Listen%2cManage%2cSend&http%3a%2f%2fschemas.microsoft.com%2faccesscontrolservice%2f2010%2f07%2fclaims%2fidentityprovider=https%3a%2f%2fjavasdksb-sb.accesscontrol.windows.net%2f&Audience=http%3a%2f%2fjavasdksb.servicebus.windows.net%2f&ExpiresOn=1322691083&Issuer=https%3a%2f%2fjavasdksb-sb.accesscontrol.windows.net%2f&HMACSHA256=6ITFPCwhpyocKb5RzddKkip2xw%2b0ddFCpTVweJl9x9s%3d"
Firstmessage information
BrokeredMessage message = new BrokeredMessage(issueBody);
This still repros with the following
QueueInfo q = new QueueInfo();
q.setPath("test4");
service.createQueue(q);
BrokeredMessage message = new BrokeredMessage("test");
message.setDate(new Date(0L));
Jul 11, 2012 2:29:37 PM com.sun.jersey.api.client.filter.LoggingFilter log
INFO: 2 * Client out-bound request
2 > POST https://javasdksb.servicebus.windows.net/myq/messages
2 > BrokerProperties: {}
2 > Authorization: WRAP access_token="net.windows.servicebus.action=Listen%2cManage%2cSend&http%3a%2f%2fschemas.microsoft.com%2faccesscontrolservice%2f2010%2f07%2fclaims%2fidentityprovider=https%3a%2f%2fjavasdksb-sb.accesscontrol.windows.net%2f&Audience=http%3a%2f%2fjavasdksb.servicebus.windows.net%2fmyq%2fmessages&ExpiresOn=1342043377&Issuer=https%3a%2f%2fjavasdksb-sb.accesscontrol.windows.net%2f&HMACSHA256=oHiOv9YD70p%2bwOEBbB9hKupulWqfj3DnEqq0Ld6h6fo%3d"
test
The text was updated successfully, but these errors were encountered: