ContributionsMost RecentMost LikesSolutionsRe: Mapper: map to target path only if input path is not null This sounds like a job for the Conditional snap; it is essentially “if (condition) then map”. Re: Keep UI from re-orienting snaps? This may require that you drag it past the point you want to connect and back to the snap you want it connected to. This is precisely what I would like to avoid doing. I generally have mine reading left-to-right as well, and I’d like them to stay that way by default. Keep UI from re-orienting snaps? Is there some setting that will keep the UI from changing the orientation of a snap as it’s dragged on the surface? It is incredibly annoying that it does that. Re: Generate random 6 digit from a given letterset Strictly speaking, Math.round(Math.random()*15) disfavors 0 and F; they are only half as likely to appear as any of 1 through E are. Math.floor(Math.random()*16) distributes better. JMS Consumer Processing Mode: Synchronous If a JMS Consumer has message Count > 0 and Processing Mode Synchronous, will the Consumer wait until the entirety of the pipeline processes a message before it polls for the next (as ‘synchronous’ suggests), or does it (as the docs say) just wait 5 seconds before re-polling? As I want to processes messages serially, it appears that Count = 1 is my only option. JMS Consumer hanging indefinitely I’ve implemented a JMS Consumer that consumes from IBM WebSphere MQ, in a pipeline triggered by a schedule (message count = 1, timeout in 5 minutes, restart every minute if not already running), So, when there are messages in queue, it picks one up, processes it to completion, restarts in about a minute, picks the next one up, etc; when there are not, it polls for five minutes, times out and restarts a minute later. Recently, there have been two instance where, for days at a time, our client says that they’ve put items in the queue, and that they’ve been consumed, but we haven’t seen them. The Dashboard consistently shows that the task has started every six minutes, timing out after five minutes, with no documents received. So, something is acknowledging the messages, but the Consumer (the first snap in the pipeline) doesn’t complete. Assuming that these messages were enqueued and consumed (as the client says), I can only assume that the Consumer snap retrieved the message and acknowledged it, but then hangs indefinitely, stuck until the task times out, losing the message. Has this behavior been seen in various MQ implementations, or maybe in the Consumer snap itself, namely that the Consumer snap doesn’t complete its own execution after it has acknowledged the message? Trying to validate JMS account for IBM MQ I’m trying to configure a JMS Producer that will communicate with a client’s WebSphere MQ, v9.1 (I think). I’ve received the jar files from the client’s lib directory, and that list of files resembles, but is not identical to, the list suggested in https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439291/Configuring+JMS+Accounts; I assume that different versions will have different files. Interpreting the comment given on https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439291/Configuring+JMS+Accounts: Upload these libraries(Jar files) to the Shared project for the JMS Account to work as expected. I’ve added my jar files to my space in the project (bcpkix-jdk15on.jar), the shared space in the project (…/shared/bcpkix-jdk15on.jar), and to the main shared space (…/…/shared/bcpkix-jdk15on.jar), hoping that one of them works. When I validate this account, I get this error: Failed to validate account: An error occurred while looking for the connection factory (Name: com.ibm.mq.jms.MQConnectionFactoryFactory) Cause: com.ibm.mq.jms.MQConnectionFactoryFactory (Reason: An error occurred while looking for the connection factory (Name: com.ibm.mq.jms.MQConnectionFactoryFactory); Resolution: Please verify that the ConnectionFactory exists in the specified jar.) As you may have surmised, the value of my Connection Factory is com.ibm.mq.jms.MQConnectionFactoryFactory, which I’m led to believe is correct. I don’t know if this value being incorrect is the issue, or if “in the specified jar” is a big clue, or if it can’t see the files, etc. The instructions given under “Configuring JMS for IBM WebSphere MQ” are a bit lacking if you’re not the WebSphere MQ SME, so I’m hoping that someone has a similar example?