The client maps the JMSType header value to the AMQP message
Properties section Subject field, as described by the AMQP JMS Mapping
doc it implements. I assume that SB terms this field as the 'Label'
for the message, and with that being the case then it is expected yes.

As I have mentioned previously in the thread, I think you could use
reflection on the message implementation to achieve what you want for
the PartitionKey 'property', which as noted I expected is actually an
AMQP message-annotation. A quick Google suggests that is the case,
with the annotation key being used likely "x-opt-partition-key". The
internal annotation bits that exist are in the same
AmqpJmsMessageFacade class that I previously noted.

Robbie

On 29 June 2018 at 13:55, akabhishek1 <[email protected]> wrote:
> Hi Robbie,
>
> Could you please suggest your opinion on below two query.
>
> 1. JMS Type - While sending the message to ServiceBus, we can set JMS type
> like "message.setJMSType("Abhishek")" .
>               After publishing this message, i can see JMS Type as "Label"
> of serviceBus message header.
>                           I think value of JMSType should populate as
> "ContentType". Is it
> correct/expected behaviour? Please find attached
> screenshot(ServiceBus_Message_Properties_Type.png).
>                           Pl ServiceBus_Message_Properties_Type.png
> <http://qpid.2158936.n2.nabble.com/file/t396358/ServiceBus_Message_Properties_Type.png>
> ease suggest.
>
> 2. PartitionKey - As this is part of infrastructure header properties. Is
> there any way to publish/receive PartitionKey from qpid-jms-client?
>
> Regards,
> Abhishek Kumar
>
>
>
> --
> Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to