VMware {code} Community
MuraliGD
Contributor
Contributor

vCloudDirector 5.1 Notifications - Is "Notification" ( Body ) deprecated ?

Hi,

This question is regarding vCloud Director 5.1 notifications.

1) In notifications.xsd I see that "Notification" element is marked as deprecated in 5.1 like below which comes as part of Body of AMQP event. This is not mentioned in

VMware vCloud Director Documentation Center

<xs:element name="Notification" type="NotificationType">

       

        <xs:annotation>

           

            <xs:documentation source="deprecated">5.1</xs:documentation>

      

        </xs:annotation>

  

    </xs:element>

However I still see that Body being filled complying to above schema on vCloudDirector running with 5.1 version.

2) Also, in VMWare vCloudDirector 5.1 Java SDK, com.vmware.vcloud.sdk.maas.Notification class is  marked as deprecated in java doc


What does this mean..when we are using vCloudDirector 5.1

a) Should we not use event body which essentially contains an xml in our logic and use only RoutingKey and Headers ?

b) Should we need not use above com.vmware.vcloud.sdk.maas.Notification  class  in  application logic and instead manually parse hea...


Regards,

Murali G D

0 Kudos
0 Replies