Skip to main content

#MuleSoft Integrations0 discussing

Questions and answers about MuleSoft Integrations, best practices, and use cases.

Hi I am trying to build newly created project with maven.

 

Mule version 3.9.1.

Could not resolve dependencies for project com.mycompany:nupp:mule:1.0.0-SNAPSHOT: Failed to collect dependencies at com.mulesoft.muleesb:mule-core-ee:jar:3.9.1: Failed to read artifact descriptor for com.mulesoft.muleesb:mule-core-ee:jar:3.9.1: Could not transfer artifact org.mule:mule:pom:3.9.1-SNAPSHOT from/to mulesoft-private (https://repository.mulesoft.org/nexus/content/repositories/private/): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]

 

Could you put it to public repo?

 

I don't have mule credentials, because I work for corpo and you know ....

3 answers
  1. Manish Kumar Yadav (Hitachi Energy) Forum Ambassador
    Jul 29, 2018, 1:38 PM

    Hi @radekb,

     

    If you do not have credential for Enterprise repo of Mulesoft.

     

    Please use Mule Runtime version 3.8.3 and before.

     

    After 3.8.5 ,You need credential to access it.

     

    Thanks,

     

    Manish Yadav

0/9000

Using Mule runtime 3.81 which comes integrated with Anypoint 6.1.0.

Cannot build projects with default pom.

 

Getting the following excpetion:

 

Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://repository.mulesoft.org/releases/org/mule/tools/maven/mule-app-maven-plugin/1.2/mule-app-maven-plugin-1.2.pom , ReasonPhrase:Forbiddepom.zipn.

 

i have attached the pom.xml file

 

3 answers
0/9000
7 answers
0/9000

Hello!

 

We are putting a JSON as a value to the default Object Store and we want to see it in the Cloud Hub, but this is what we see instead:

 

JSON in Object store not visible in CloudHub

 

 

What should I do with the json before we store it there? Is there some escape that needs to be done?

36 answers
  1. Jan 18, 2017, 8:37 PM

    I already said not to remove `object-to-string-transformer` after HTTP listener because the input payload after http will be input stream. You need to store the payload in a String or a Json or a format that is consumable in Object Store

    You can already see that in your error:-

     

    org.mule.module.json.JsonData" Payload : java.io.ByteArrayInputStream@1a278d05

0/9000

I want my cache to expire the entry after 2 minutes and also to check the entry every in 1 minutes.

I had used a reference to strategy and filter using an expression as I have no idea how to use the Global filter for Cache.

The above code does not expire my cache entry

 

code snippet is as below :

*

<managed-store storeName="responseCache" persistent="true" maxEntries="5" entryTTL="100000" expirationInterval="100000"/>

</ee:object-store-caching-strategy>*

 

Thanks in Advance

7 answers
  1. Sep 17, 2017, 5:24 PM

    If you look the schema and it's definition :

    https://www.mulesoft.org/schema/mule/core/3.8/mule.xsd

    It says in maxEntries, "Specify '-1' if the store is supposed to be "unbounded"." .. It is something like no restriction entries .. similarly for entryTTL, if you specify -1, then the cache will never expire as per it's schema

0/9000

Hi guys I created an API through RAML+APIKit and from studio I deployed it to Cloudhub.

Now from Anypoint Platform in APIs, how can I apply policies to the deployed app in CH?

 

I'm using a free account so at a time I can only deploy one app in Cloudhub.

15 answers
  1. Sep 25, 2015, 4:36 PM

    @evangelinamrm Moreno yes this is strange .. Even I don't see the answers are locked .. but still it is appearing to be .. need to check

0/9000
7 answers
  1. Nov 14, 2018, 6:55 PM

    @sadik_ali how is it related to the issue he is getting ?? There is no pointer on how to handle console interface and application url of RAML application in studio. Pls don't just give an answer for sake of giving an answer. I am not sure if the link you shared will help him to understand the issue he is getting

    It's just a basic tutorial of RAML design in anypoint platform

0/9000

I have the flow Foobar which is triggered from another flow via a lookup() call. In Foobar is a Cache scope, and in the cache scope is an HTTP Request which gets back a JSON object. If I try to set up the caching strategy to use a persistent Object Store I get the error "Unable to store event in cache" because org.mule.runtime.core.internal.streaming.object.ManagedCursorIteratorProvider isn't serializable. I thought the problem might be that it can't cache Mule's internal representation of the JSON object, so I removed the Request processor's payload metadata specification (which said the output payload was JSON) and also set the processor's MIME type from application/json to application/java; that didn't help.

 

I'm trying all this in Anypoint Studio 7.2.3 (haven't tested in CloudHub yet).

 

EDIT: @najma I've already tried putting a JSON to Java Transform Message right after the Request, but that didn't help any.

7 answers
  1. Oct 20, 2018, 5:29 AM

    @mc_quintrix_training have u read my answer correctly? I already said if you set the output payload as java object it will be consumable payload which cannot be stored in cache

0/9000

Hello Mule guru's, got a question for you, say I have a property file with a lot of data (100 rows)

Ex data:

lookup.one=testing1

lookup.two=testing2

 

I know how to get back the value of one of lines, just call it via ${lookup.one}, however, how I want to retrieve all of the lines in a property file, how do I do that? I want to be able to iterate through each line and put them into an object store.

10 answers
  1. Nov 11, 2017, 4:37 PM

    @santosh00 Pls put only answers in the answer section. Put other comments, follow-up question in comment section.

    Thanks

0/9000

Let's say I have a mule app running in the cloud and another mule app running on-prem. Can Object Store be used to persist and share the data between these two? In not, can I share the data between two different applications running on different runtimes on-prem? Or is ObjectStore generally used within a single mule application, either in the cloud or on-prem? I feel the latest but still could not find definitive statement about this in the documentation.

 

Thanks!

 

Edit: I'm not just interested in sharing data between multiple apps within the same runtime, but also within multiple apps running in completely separate runtimes.

9 answers
  1. Nov 14, 2018, 9:47 AM

    @ievankuk you cannot share domain across multiple runtime. Each runtime has their own boundaries and scope.

    You can share resources across multiple applications within same domain in same runtime

0/9000