How to insert manual activity in Tibco BW work flow process - tibco

I'm designing a simple business process using Tibco Designer. Basically, it's like
Receive xml data via JMS --> Extract certain data from xml and modify it --> send back the modified xml
So my question is, which activity from Palettes should I choose to implement the manual task ?
For example:
original.xml
<xml>
<sender>Jason</sender>
<message>I am hungry</message>
</xml>
modified.xml
<xml>
<sender>Jason</sender>
<message>I am hungry</message>
<modifiedMessage>I am so hungry!!!!!<modifiedMessage>
</xml>
So I want to extract from original.xml and maybe show it on screen, and then ask for user's input for modified message. After user put in message, we will add it as another element and send the modified.xml to other destination.

Well, TIBCO BusinessWorks (as well as TIBCO Designer which is just a modeler for business processes) is not made for that kind of using - human interaction between process steps (activities). You probably need some kind of BPM tool with rich GUI forms and all other fancy stuffs.
With TIBCO BW you can receive JMS message using "JMS Queue Receiver" but you have to know XML schema for that JMS message. After that, you can 'extract' some data from it with for e.g. "Mapper" activity and after that you can send message back to the same queue with "Reply to JMS Message" activity.

Related

Difference between JMS Listener and JMS On New Message

This question is related to my earlier question.
I am using Mule 4.4 community edition, and I was looking through the various components available for JMS in Mule. I'm confused about JMS On new Message and JMS Listener. All of the documentation for listener seems to be talking about On New Message however the code snippets in this link shows a listener:
<jms:listener config-ref="config" destination="#[vars.destination]"/>
So it looks like they are both one and the same. If so, then I am confused as to why they show up separately in Mule palette as individual components.
When I dragged and dropped both of these components into their respective flows the underlying XML code still is about the listener.
They are the same. The display name of jms:listener is "On New Message." That's all there is to this. It is to maintain a consistency across different modules. If you check other modules like database, emails, SFTP, or any other module the XML DSL always has "listener" as its DSL element. The display name is different as they should be more descriptive then just saying "listener." For example, if you just say listener in SFTP one might think that it is also listening to deletion of files too, but it only listens to new or updated files and therefore it is more appropriate to name it "On New or Updated File."

Performing load test on Tibco JMS endpoint with JMeter

I want to perform load test on a Tibco JMS endpoint using JMeter. The endpoint is a JMS Queue Receiver that will reply to the JMS Message to end the sessions. I have done a lot of googling regarding what parameters to fill in each field of the JMS Point-to-Point sampler with no success. Attached is a screen shot of the Jmeter window. I am not sure whether this is the right sampler to use or if I should use Publisher. Either way, I do not know what to fill in each of these fields. I am currently stuck at the JNDI name Request queue field. When I put my queue name for the JMS on Tibco, I get an error that that name is not found. Leaving the field blank is also problematic. What should I fill in this field to make the request work?
We don't know your topic/queue names so we cannot help, you can ask around, see the application you're trying to simulate configuration or use Graphical Administration Tool for TIBCO® EMS to explore the endpoint and identify the proper queues for messages sending/receiving. For sending the messages you might need to set JMS_TIBCO_SENDER JNDI property
You might also be interested in Building a JMS Testing Plan - Apache JMeter article

iib 10 missing message on the local mq queue using mqoutput node

I'm newbie on IBM tool.
On my laptop, I have installed IIB v10 using a local MQ manager. I created 2 local queues on MQ: "Queue.In" and "Queue.Out".
I have a very simple scenario that I work on: I send a 'csv' file on the "Queue.In", get the message using 'MQInput node' transform the message into xml using 'mapping node', and then put the xml message to 'Queue.Out'.
Using the ‘flow exercicser’ I’m able to send my ‘csv’ file and I can see that the message get consumed and transformed to xml and send to “Queue.Out”
Problem: My xml message is successfully put in "Queue.Out", but disappear right after.
I want it to remain in the "Queue.Out".
I use “MQ explorer” to browse my queues.
Please advice.
I would always recommend using Rfhutil for Delivery and Subscription of messages onto/out of a queue. In Rfhutil you can also browse messages without taking them off the queue which can be useful.
I am unsure why the flow exerciser removes messages - this is a new feature in IIB10 so it might be that they wanted queues to be cleared after the flow execution has been completed to avoid clogging queues. I believe the point of the exerciser is to track the logic of the flows themselves not to get messages.
Hope this helps :)

Who can be clients in JMS

I have list of emails (to many). I want to write scheduler, which sends emails periodically.
I read emails from database
I send messages to this emails.
As I see for good performance, it is good to use JMS (Topic) to make this.
In documentation I read that Topic sends messages to all clients. Could you enplane me what does "client" means at this case? In my opinion, wich my example, they are the owner of the emails and my system will send the message text to this owner of email (Clients). Is it right?
No, in this context, "all clients" means all java processes that have an open subscription to the topic.
You would need to write code to convert from JMS to Email (and send it). Frameworks like Spring Integration can be used for this, it does all the heavy lifting for you; you would simply wire a JMS message-driven-channel-adapter to receive the message from a queue (not a topic), do a JDBC query to get the emails, then send them via a mail outbound-channel-adapter.
Read the project documentation for more information (there's a link to it from the project page link above).

connecting to tibco and see the message body from the queue

I am working in an application in which we use to send some messages in tibco queue, we are sending messages through spring jms and we have been provided by a customized interface in which graphically we can see the message count and can see that if that number increases then messages are being send on that queue, but i was looking for some tool which have GUI in which I can connect to my tibco queue and can see the message body also that is the message content in detail , please advise for such free tools , I think similar to queuezee tool.
This one is paid one http://jmsbrowser.com/...looking for free one
You could try GEMS(Graphical Administration Tool for EMS). Its a GUI tool built specifically to monitor the queues and topics in TIBCO EMS
TIBCO Community:GEMS tool
Also there is one more tool called Hermes which offers the almost the same functionality as GEMS
You can use ActiveMQ,it is from Apache and its free.
You can see the messages sent and messages recieved.
Both queue and topic message counts can also be viewed

Resources