There are a couple of threads talking about license issue. Mostly focusing on GPL/LGPL/BSD. I am trying to use RabbitMQ in commercial applications, which is licensed under Mozilla Public License(MPL). Is MPL friendly to commercial use?
I found a different question on Stack Overflow, and one of the comments mentions:
MPL: people can take your code, modify it, but if they distribute the modifications, they need to make sure modifications are publicly available for 3 years.
If I don't touch the source code at all, but only use the .jar files in my code, do I need to license my code under MPL as well?
In a more serious tone, you should always consult to your lawyer, but it could be helpful if you read the annotated MPL 1.1 at: http://www.mozilla.org/MPL/MPL-1.1-annotated.html but it basically means that the files can be combined with proprietary files on a "larger work", still, it would be wise if you read the annotated version and consult it with a lawyer.
I'm not sure about if you have doubts about Apache license since you mention it on the question topic but not in the body of your question.