Member since
10-02-2015
23
Posts
15
Kudos Received
5
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
9912 | 02-23-2017 06:44 PM | |
1474 | 11-01-2016 02:25 PM | |
3032 | 10-19-2016 07:16 PM | |
9059 | 08-09-2016 12:23 PM | |
1048 | 05-03-2016 09:42 PM |
02-20-2017
01:58 PM
1 Kudo
Also, keep in mind, you your provided connection factory impl is wrong since you lower-cased the last part while it supposed to be the usual camel-case - https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.javadoc.doc/WMQJMSClasses/com/ibm/mq/jms/MQQueueConnectionFactory.html Also, the url beginning with 'http'. . . I do not believe that is correct. At least I've not seen a configuration like that. Anyway, please reach out to your MQ administrator to get proper values for the required properties. Also, if you be so kind please include the error logs relevant to the controller service (CS). What you are attaching above is related to inability of processor to start which is understandable since it can not start due to the fact that dependent CS is disabled. The real question why the dependent CS is disabled, I mean we do know already that there is configuration issue, but he logs may shed some lights as to what those issues are.
... View more
02-20-2017
01:46 PM
Andy Sorry to hear you're having some issues. It appears this is a configuration issue. I just dug up some notes from when I was implementing it and it appears you have issues with ConnectionFactory configuration as well as some additional properties required by IBM that would need to be supplied as dynamic properties (see 'IBM specific properties as Dynamic Properties' below). Please see below and let me know. Would love ti help you put this matter to rest. Processor (required properties): - Destination Name: <topic or queue name> (e.g., queue://MYQUEUE) - Destination Type: QUEUE or TOPIC - Session Cache size: 1 (read its doc for more details) - Connection Factory service: <the name of the controller service for CF> (e.g., IBMMQ) Controller Service (e.g., IBMMQ) - MQ Connection Factory Implementation: com.ibm.mq.jms.MQConnectionFactory - MQ Client Libraries path: <path to client JARs from UBM> - Broker URI: <uri to MQ broker> (e.g., foo.bar:1234) Then you would have to configure IBM specific properties as Dynamic Properties: - channel: <name of the channel> (e.g., SYSTEM.ADMIN.SVRCONN) - queueManager: <name of queue managere> (e.g., FOO) - transportType: <identifier of the transport type> (make sure you put '1' as a value which states that TCP/IP will be used)
... View more
02-08-2017
02:48 PM
1 Kudo
Michal The NiFi's convention is to look at attribute -> system-property -> env-variable - in that order. Basically what it means that if it can't find attribute in the FlowFile it will check for system property with the same name and if it can't find one it goes to env-variable etc. Is that what you were looking for? Basically you can declare sys-prop or env-variable and have inbound processors like ConsumeKafka or GetFile to be more dynamic. Cheers Oleg
... View more
11-01-2016
02:25 PM
1 Kudo
Nirmal Just to close the loop here in HCC, i'll summarize from the Apache NiFi mailng-list response I've posted a few minutes ago The NPE is due to the fact that we are invoking a default constructor for whatever connection factory class is provided (i.e., ‘org.exolab.jms.client.JmsConnectionFactory’). And that works for most major JMS providers (ActiveMQ, IBM, Tibco, Weblogic etc.). However for OpenJMS after looking at the code it is rather clear that the default constructor was not exposed to be actually used by the developers, rather internal serialization use. /** * Default constructor required for serialization */ public JmsConnectionFactory() { } Not sure why it was done this way . . ., but the NPE is due to the fact that the server proxy class is null so when it attempts to do Class.forName(proxyClassName) in getProxy() method it fails with NPE. One other thing I noticed is that all OpenJMS examples are based on obtaining ConnectionFactory from JNDI for which we currently do not have support. Please raise the JIRA if you believe that it’s important to add such feature. Cheers Oleg
... View more
10-19-2016
07:37 PM
Yes, I understand and that's why I am having second thoughts about the check in the processor. In other words we may need to remove it
... View more
10-19-2016
07:16 PM
1 Kudo
Timothy It appears that the incoming email doesn't contain 'from' and/or 'sentDate'. Basically there is explicit validation for those fields inside the processor and if both missing the exception is triggered. The argument there is that it violates 'RFC2822' (Internet Message Format). While it may be correct (I have to look at the doc itself) I am not sure that the goal for this processor is to enforce the mentioned spec. Anyway, would you mind creating JIRA in https://issues.apache.org/jira/browse/NIFI and I can give it a closer look. Also, if you can find more details as to why the incoming message missing those field. Cheers Oleg
... View more
08-09-2016
12:23 PM
3 Kudos
This could be due to auto-delete settings for queues, bindings and exchanges. I'd suggest to talk to your administrators or install a separate version of Rabbit that you can fully control.
... View more
08-09-2016
11:25 AM
1 Kudo
Assume nothing 😉 and validate instead. So let's try one step at the time. This documents https://www.rabbitmq.com/management-cli.html describes how you can list exchanges, bindings and queues. $> rabbitmqadmin list queues See if you can see your queue there since the exception you see makes me believe that it is not.
... View more
08-09-2016
11:12 AM
1 Kudo
Is queue "research_test_ defined? Remember that AMQP has a fundamentally different model then your typical messaging. Publisher publishes message NOT on the queue but to the "exchange" from which it gets routed to the queue(s) based on the bindings. So those have to be setup ahead of time. So I am essentially trying to figure out what help are you looking for specifically? Setting up queues, exchanges and bindings is usually the administrative task in Rabbit. Is that the help you need? Getting to the right documentation?
... View more
05-03-2016
09:42 PM
1 Kudo
Subhash I would suggest raising a JIRA in Apache https://issues.apache.org/jira/browse/NIFI/ This looks like a missing feature in NiFi that we need to address Cheers Oleg
... View more
- « Previous
-
- 1
- 2
- Next »