Hi Anamitra,
Nice to interact with you. The way we got connected with a ASB queue is, we hosted a queue on Azure and we wrote a custom java using ASB jars and there are standard way to call the ASB queue, provided by microsoft. We did not go via the Maximo JMS, we are treating this as a regular API, where we call the API and extract JSON and store it in a table.
The strange thing is, when this custom code is run as a standalone code in Java/eclipse, it works fine and it prints the JSON message. But the same code when adapted to a maximo customization and deployed and executed from a trigger in Maximo (using a button for eg)- we established the connection, the message got consumed, but its not printing anyting in the logs. we tried diffferent combinations of base 64, binary data conversion etc.. but it doesnt seems to be consuming properly. There is something called Content Type in ASB, which determines if its a JSON, or simple binary, we have tried all combinations. May be we are missing something fundamental.
So to answer your question, we are not usinng native Maximo JMS functonality and as you know there is no OOB producer for ASB unlike something like Kafka which Maximo supports.
Hope this clarifies.
------------------------------
Venkataraman Guruswamy
------------------------------
Original Message:
Sent: Thu February 25, 2021 10:03 AM
From: Anamitra Bhattacharyya
Subject: Azure Service Bus Integration
Hi Venkat
havent looked into Azure Service Bus yet - but wondering if you can explain how you connected Maximo to the bus. Are you using the Maximo JMS functionality to talk to the bus? Is there a producer that is writing to the bus directly? Maximo jms messages need to be in a certain format to get consumed.
------------------------------
Anamitra Bhattacharyya
IBM
Bedford MA
Original Message:
Sent: Wed February 24, 2021 10:39 AM
From: Venkataraman Guruswamy
Subject: Azure Service Bus Integration
Hi Experts,
Has anyone tried integrating Maximo with ASB and consumed messages ? if so, please let us know need some help. The messages that we are trying to consume are coming as blank.
------------------------------
Venkataraman Guruswamy
------------------------------
#Maximo
#AssetandFacilitiesManagement