I'm still a newbie with BW. I try to set JMS queue destination name dynamically from an input which I receive from a webservice.
Problem with this is that BW only allows me to set the queue name statically or referencing a global variable. Is there any way to set a global variable dynamically?
click on the JMS sender activity. Select the "Input" tab. Open the "ActivityInput" node. The child node 'destinationQueue' is what you are looking for.
HTH,
Hendrik
Related
Am having a CSV file with a list of active mq queue name. Am trying to push messages to dynamic queue by reading the queue name from csv and setting it to my variable and passing that variable in jms point to point sampler as ${queueName}. The messages are not getting poster todynamic queue, instead it's getting posted to ${queueName
As per your reply, Its clear your queue variable name doesn't get evaluated properly.
I hope you can find the root cause for the issue by following below steps.
Check whether CSV file in a readable location, It should be on bin folder
Check for variable name spellings
Add a debug sampler in middle and check whether variable getting evaluated correctly
Install step-by-step plugin and debug the jmeter flow
Just make sure the variable spelling is correct in both CSV Data config and the request where you are using the variable. This happens when there is no data available in the sheet or if there is a spell mistake in the variable.
I am trying to disable a particular message of a node from sending default values available in dbc file, and through capl i need to transmit new(dummy) values.
I found the function ILNodeControlStop(), which blocks the node completely, but i want to block only one message and not block the entire node.
How to disable an ECU node from sending a message from IL?
You can use
ILDisableMsg(<messageName>);
to disable the message and
ILEnableMsg(<messageName>);
to enable it again.
All this assuming, that you are using the CANoe interaction layer.
I need to create a variable in IIB flow which has to be available through out the flow. I have gone through the variables creation in documentation. As per my understanding, I should create a SHARED variable in ESQL module. But in documentation its mentioned as "Subsequent messages can access the data left by a previous message." which I didn't understand.
Could anyone please suggest how to create a variable which should have scope only for that flow(only per each request/instance)?
For example if I have to capture total value of some elements in payload and store calculated value in the created variable which I can use across all the nodes throughout the flow .
The Environment tree structure can be used for your use case:
The environment tree differs from the local environment tree in that a single instance of it is maintained throughout the message flow.
When the message flow processing is complete, the Environment tree is discarded.
I'm fairly new to Nifi and have not had much luck finding an answer so I'm posting my question here.
In the flow I have, I need to be able to set a variable by each flow path so the URL that is called is modified. I've created a crude drawing to show what I'm trying to do where I need to be able to set a variable, let's call it {target} based on the flow that comes in.
The flows that come in are from a Splitter as I'm reading in file data.
How do I even create a var {target} to set?
How do I get each flow path to set the {target}?
What do type of processor do I need to add for this to happen?
I need to clarify the behavior of the method createQueue(java.lang.String queueName) from the class com.ibm.mq.jms.MQSession.
If I pass an arbitrary queue name, will it create a temporary queue? In the other hand, what String value needs to be passed to get a Queue object that represents a static queue configured in the queue manager?
For instance, if I have an object dest of type MQDestination, I could call dest.toString() or according to javadocs or dest.getStringFromDestination() (which returns a URI String). Will any of these two results work if passed to the createQueue method mentioned.
The intent of my question is to properly use a Spring's DynamicDestinationResolver (takes String and returns Destination) which behind the scenes uses this MQ specific method.
Thanks for your time
You can find the description of the JMS Session object here:
http://docs.oracle.com/javaee/7/api/javax/jms/Session.html
In JMS Session.createQueue() does not create a physical queue on the MQ queue manager, rather it's used to connect to one which has already been defined. MQSession.createQueue("Q1"); would result in a Destination object which can be used to refer to the queue 'Q1' which already exists on the queue manager.
For creating a temporary queue you need to use the createTemporaryQueue() method of the MQSession object. Though you have no control over the name of said temporary queue.