Issue with AQ notification callback.

Hi,
I'm using OCCI API to subscribe for event notification.
I was able to open subscription and the callback is triggered when the messages are enqueued from DB.
I'm having issues with extracting the data in the callback.
From the oracle doc, I see that only RAW payload is supported if the queue is non-persistent. Different payloads are supported if the queue is persistent and that the user is supposed to explicitly dequeue messages since the messages are not provided as part of NotifyResult argument of the callback.
My question is how do I dequeue messages when the callback is triggered.
I tried to use the consumer with in the callback as below:
Consumer consumer(_connection);
consumer.setConsumerName("fbe_ac1_usr");
consumer.setDequeueMode(oracle::occi::aq::Consumer::DEQ_REMOVE);
consumer.setQueueName("xrfdbo.fbe_ac1_queue");
Message mes = consumer.receive(Message::OBJECT, "CONSOLIDATED_UPDT_MSG_T", "XRFDBO");
PObject* obj = mes.getObject();
I'm getting the exception "21301ORA-21301: not initialized in object mode"
I believe this is due to Environment being created in EVENTS mode to register for subscription.
If I change the mode to OBJECT when I create Environment, I'm getting exception "ORA-01010: invalid OCI operation" while registering for subscription.
Is there any other way to dequeue DB type messages when callback is triggered ?
In order to create a consumer within the callback, I changed my Connection object pointer as static. Is this the right way ?
Thanks

Environment modes are cumulative. You need to define both object and events mode at the same time, which you can do with a bitwise OR of EVENTS and OBJECT.
You are spot on about non-persistent queues. They are deprecated (and slightly buggy, you get the raw payload as an XML document if you dereference the payload pointer in the notification callback function, but I find things go missing, like timestamps for instance), it's replaced by a new kind of persistent queue that behaves similarly to NP queues. I forget the marketing name now, let me go look it up and update the thread.
EDIT: buffered queues.
http://docs.oracle.com/cd/B19306_01/server.102/b14257/aq_intro.htm#sthref76
It's a persistent queuing but the messages live in shared memory until the streams_pool_size is reached. I could be wrong, but I think Oracle built on this to provide continuous query notification.

Similar Messages

  • We have been having some issues with Email notifications not going out and getting hung up in SOST.  Can anyone please tell me whether we can use Solution Manager to monitor outbound emails?

    We have been having some issues with Email Notifications not going out and getting hung up in SOST. Can anyone please tell me whether we can use SAP Solution Manager to monitor outbound email?

    What version of Solman are you using ?  Check in t-code Rz20 >ccms monitor template of satelliate system , there would be option to monitor your outbound mails .You can sutomise your monitorig metrics in solman 7.1  else in 7.01 you use auto reaction methods to monitor .
    Regards
    Jay

  • Anyone having issue with email notification delay in ES4?

    After upgrade from ES2 to ES4, we're experiencing an email notification delay when a task is assigned to an individual or group queue. It's not consistent, but happen enough that we can some what replicate it. It's almost like an email notification from task assignment wouldn't send through until we kick off another process or claim another task. This happens with server default email notification as well as custom email notification. Please advise how I can go about trouble shooting this.

    This is what in the log at the time I ran the test process & email notification delay occured. Again, the email notification delay wasn't the issue when we were in ES2, until we upgraded to ES4 recently. The delay happens spontaneously, no specific pattern. Sometimes it'll arrive instantly and sometimes it will delay. However, when the notification delay occur, if I kick off another new process, the notification will come through.
    [1/21/15 10:27:47:442 CST] 00000031 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/adminui] [/secured/about.jsp]: Initialization successful.
    [1/21/15 10:28:03:107 CST] 00000040 CSRFFilter    I   Fetched allowed referer list for servlet:/CoreSystemConfigComponent
    [1/21/15 10:28:03:200 CST] 00000040 Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI "#bed5ed34fb984a88466db43f9ab1cef8"
    [1/21/15 10:28:03:684 CST] 00000040 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/CoreSystemConfigComponent] [/secured/welcome.jsp]: Initialization successful.
    [1/21/15 10:28:03:746 CST] 00000040 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/CoreSystemConfigComponent] [FilterProxyServlet]: Initialization successful.
    [1/21/15 10:28:06:680 CST] 00000040 ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [LiveCycleES4] [/CoreSystemConfigComponent] [/secured/config.jsp]: Initialization successful.
    [1/21/15 10:28:30:972 CST] 00000031 Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI "#a8bc74a810dee608d866cdf3d19861ab"
    [1/21/15 10:28:30:988 CST] 00000031 Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI "#e83cca4f938a1d9f21e821a8c3663008"
    [1/21/15 10:29:46:283 CST] 00000043 Authenticatio W   Authentication failed for user [abc] (Scheme - Username/Password) Reason: Username or password is incorrect . Refer to debug level logs for category com.adobe.idp.um.businesslogic.authentication for further details
    [1/21/15 10:29:49:278 CST] 00000031 Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI "#f145055ebb4cb72241a696e2e37912b6"
    [1/21/15 10:36:17:867 CST] 0000002d J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3c103c10#tid=2172366 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:37:33:515 CST] 00000055 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@7c5a7c5a#tid=2172587 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:37:35:980 CST] 000000bf Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI "#b1ff24709e2764c4fdf7c8f5459a3f3c"
    [1/21/15 10:37:38:570 CST] 000000c0 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@1fbd1fbd#tid=2173407 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:37:42:673 CST] 000000c0 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3da43da4#tid=2174482 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:38:09:428 CST] 0000002d J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@26002600#tid=2176826 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:38:38:258 CST] 00000055 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@50165016#tid=2177247 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:39:09:272 CST] 00000054 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@26222622#tid=2179048 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:39:21:597 CST] 00000030 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@2b402b40#tid=2179505 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:40:07:291 CST] 00000055 Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI "#ea6a84b4552fffe36b7a86269d7b67d0"
    [1/21/15 10:41:52:938 CST] 00000033 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3a503a50#tid=2184317 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:42:21:160 CST] 0000002d J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@56fd56fd#tid=2184783 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:42:24:218 CST] 000000c3 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@276a276a#tid=2186778 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:42:28:071 CST] 000000c2 ProcessRecord W   deleting oldest recording(s) due to space limitation.
    [1/21/15 10:42:29:943 CST] 000000c2 J2EEConnectio W   Service: XMLFormService resource: ProcessResource@5c105c1(name=XMLForm.exe,pid=5908) could not schedule an interrupt for transaction: com.ibm.ws.tx.jta.TransactionImpl@3c5e3c5e#tid=2188110 because excessive time was spent waiting in queue. Supplied timeout: 0s, Wait adjustment: 0s, Effective timeout: 0s.
    [1/21/15 10:51:15:603 CST] 0000002f Reference     I org.apache.xml.security.signature.Reference verify Verification successful for URI "#c536f8c15947c0e0d16970ced8d90811"

  • Has anyone else had issues with the notification led and flash?

    the flash will flicker on only the right led then no activity after that, i have tried using it in the camera app and a flashlight app, also i dont see any color/light from the notification led that i have setup in messaging. has anyone else had this issue and solved it?

    Try a Power Cycle..  Press and Hold  the power button till your Turbo shuts off then re-powers itself after doing this retry using the Led flash with your camera
    Here is the Link to the online Manual Via PDF  for your Droid Turbo.  b33
    https://motorola-global-portal.custhelp.com/ci/fattach/get/1021914/1414680708/redirect/1/filename/Droid_Turbo.pdf

  • Isanyone else having issues with Push Notifications?

    I am having the issues push notifications with MLB at the Bat 2010, ESPN Worldcup app, ESPN Sportcenter App, Sportsatcular. No push notification for any of these apps what so ever. I get push notifications for text messages and exchange calendar events, but not much else. I have every setting for the phone and these apps set to send notifications and I am not getting any notifications on my new iphone e4. These all use to work on my old 3g.

    I was able to resolve all of my push notification issues by uninstalling and reinstalling all of the effected apps from my iphone. This tip came from the excellent support folks over at ESPN

  • Reminders have issues with push notifications and notification center

    For a while now, I've been having the following issue on my iPhone:  I create a reminder, set it to "remind me on a day", and choose a specific time.  No trouble syncing with iCloud across devices.  I have the reminder notifications set on "Alerts", which should require me to acknowledge the reminder before doing anything else, and I have "Show in Notification Center" enabled.
    When the time comes, I do hear the sound, and the reminder appears on my lock screen.  However, after it goes away in a few seconds (like it should if I do nothing), and then I pick up the phone later to unlock and use it, the reminder alert is no longer there.  Furthermore, the reminder does not appear in my Notification Center.
    Here's an example scenario that will hopefully illustrate this problem:  I set a reminder, then go on about my work day.  Later, I'm in a meeting when the reminder goes off, and I don't immediately check my phone.  10 minutes later when the meeting breaks, I check the phone and see nothing.  Prior to this issue happening, I used to have to acknowledge the reminder alert before doing anything else with the phone.  This is causing me to miss important reminders, and it used to work brilliantly!
    Can anyone help?  I really need this level of harassment from the Reminders app!

    Here is what you can try.  First go to Settings/Notifications and locate the App in question and select. Then be sure Allow Notifications is on and that you have selected either Banner or Alerts for Alert Style. 
    If you have already tried that the best thing to do is to Delete the App for at least 24hrs then reinstall. 
    What this will do is give you the pop up on first log in asking to Allow Push Notifications. Selecting Yes will authenticate device token and store to server and you should be good to go. 
    Don't want to wait 24hrs?  Follow these steps. 
    Delete App
    Power off device
    Turn device back on and go to Settings/General/Date and Time
    Turn off Set Automatically then set time at least 24hrs ahead. 
    Turn device off then back on
    Open App Store and download the App
    Owen the App and sign in and Accept Push Notifications
    Once you get the Pop Up and accept you can now go back to Settings/General/Date and Time and turn Set Automatically back on
    Turn device Off then back On and your good to go.

  • HT3576 Viber on Iphone 3GS - Issue with push notifications

    hi i installed viber on my iphone 3gs. the push notifications for viber are set to "on", yet when i start viber it continues to say that push notifications need to be switched on, n wont progress further. any solutions. deleting n reinstalling hasnt helped.

    Hi,
    This is a member of the Viber R&D Team!
    Please check the following link for more info. regarding this issue: http://helpme.viber.com/index.php?/Knowledgebase/Article/View/38/0/push-notifica tions-for-iphone---how-to-enable
    If you have any questions we'd be happy to assist.
    Thank you,
    Viber Team

  • TS4006 Issue with receiving notification  emails !

    I use to receiving notification  emails each time i log into " find my iPhone " , but now i receive it just if i inter from new device , how can i receive  those emails again ?

    Hi,
    Request and Response should be part of same agreement. I hope you are not confused between Acknowledgement and Response. Acknowledgement can be received in the same session (sync mode) but Response will always come in a different session and will be treated as a different document. If, for request, party A is initiator and B is responder then for response party B will be initiator and party A will be responder (as Requset and Response are two docs in case of Custom Document)
    For configuring X-Path, please refer section 8.3.11 Configuring the XPath Expression for a Custom XML Document at below link -
    http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/busact_coll.htm#sthref784
    Please let us know whether you are trying to receive a response or Ack?
    Regards,
    Anuj

  • Send back to author issue in HCMFP with extended notification functionality

    Hi,
    We are using HCM Forms and Processes in our project .When the Form is sent back to author by the manager, author receives the email using extended notification functionality where the author clicks on the link provided in the notification email to open the form.Till here everything working fine, but when the author sends  the form again for approval with required changes , the approver  could not see the latest changes in the form. He still see the old data. Please note standard Task TS04000020: PD Form Is Edited Again by Author is used in the workflow.
    We tried the same scenario, where author access the form through UWL, make necessary changes and send the form for approval. In this case,latest changes can be seen by approver without any issue.But, as per business we can not provide UWL and should use extended notification functionality only..
    Please help in resolving the issue with extended notification functionality as early as possible.
    Thanks,
    Pavan.

    Hi Viji,
    Regarding your question.. here is the business requirement.
    1. Author fills the HCM form , hit check and send button, so that workitem goes to approver's UWL.Author do not have portal, but performs this process from SAP GUI itself using the webdynpro link as shown below.
    https://  pint01.xxx.net:8043 /sap/bc/webdynpro/sap/asr_pd_process_execute?sap-wd-configId=ZXX_PD_PROCESS_EXECUTE
    2. Approver has buttons on the form to approve, reject or send back to author.
    3. When author hits the "send back to author" button, the work item (task TS04000020) will be created for the author.
    4. The notification email will be sent to author using the program SWN_SELSEN.The email contains a link as shown below to open, edit,check and send it again for approval.
    https:// pint01.xxx.net:8043 /sap/bc/webdynpro/sap/asr_process_execute?WI_ID=000000052545
    The problem here is, when the author makes changes and send the form for approval, the approver still see the old content only in the form.
    Thanks,
    Pavan.

  • Issue with gamecenter settings

    it looks like I'm having an issue with GameCenter:
    * Notifications are off. Even though I still get audible and visual notifications on every inivitation.
    * Getting invitations at all is somewhat puzzling, because I set myself to disallow game invitations. Or is that something different? I expected this to block me from being found in gamecenter.
    Anybody else seeing this? I'm on german locale, does that possibly matter?

    The next step is to restore your phone from your most recent backup, followed by syncing your iTunes content back to your phone. If that doesn't work, you'll have to restore as a new device in iTunes, but try restoring from backup first.

  • HT4623 Issue with anniversaries entry in notification drop down bar and calender app

    Hi guys,
    There is issue with notication dropdown and calender app in ios 7 which was not present in ios 6. The notification sync birthdays from contacts but only birthdays and not anniversaries.
    same is with the calender app
    what is the solution for this?

    The problem is not with the phone per se.  The problem is with Android 4.0 and your TB does not have 4.0.  Because this phone is the "gold standard" of development for Android 4.0 it makes sense to report the problem here.  If Verizon takes notice they will push the bug report up the food chain until some developer at Google or Samsung decides to fix it.

  • Issue with Chinese Translations not picked up in Extended Notifications

    All Gurus,
    We are on ECC 6.0 with the below settings.
    SAP_BASIS     700     0015     SAPKB70015     SAP Basis Component
    SAP_ABA     700     0015     SAPKA70015     Cross-Application Component
    We have been using Extended Notifications for quite some time and it's working fine in EN. We now are working on generating the Outlook mails in Chinese Language. In these, there are some std. SAP texts (as mentioned in "General Settings" in transaction SWNCONFIG) are not getting picked up even though the corresponding Chinese translation exists. Specifically, the EN text
    "The following new work items require processing XXXXXXXX" corresponds to Dialog text "SWN_PROLOG_MULTI" maintained for parameter "TEXT_PROLOG_MULTI" in General settings.
    When the Outlook mail is generated in Chinese, the corresponding Chinese text is not getting picked up and says "Text Not Found". Similar issue existed for some other Dialog texts maintained for parameters "TEXT_GOTO_WI" and "TEXT_CONTACT_ADMIN" for which SAP suggested new Notes 1661893 and 1661894. For these texts, once Chinese text is maintained in SE63, its getting picked up in the Outlook mail.
    Has anybody faced similar issue with Chinese translations in Extend.Notif ? If yes, please let me know how to fix this issue.
    Also, anybody knows the message / Dialog text # for the text "Execute Work item.SAP" in the Link that is attached to the Outlook mail ?. Please tell me how to maintain the Chinese text for this EN text.
    Timely reply is really appreciated.
    Thanks in advance & Regards,
    venu

    All,
    SAP provided the translations in the Notes 1675156 & 1675157 and it resolved both the issues mentioned. Also, the "Execute Work Item.SAP" link is picked up from the Text Elements of the class "CL_SWN_NOTIF_WORKFLOW".
    As the issue is resolved, i'm closing this thread.
    Thanks
    venu

  • Content distribution issue with message "Found package properties updated notification for package '00000123'"

    I've got strange issue with 1 of my primary sites that started just recently.  I've updated the content of 1 package and this now needs re-distribution to all DPs.  I've got 3 primary sites and on 2 of those the update succeeded and my DP's got
    updated correctly.  One primary site it does not work and checking distrmgr.log I can see following message every xx minutes
    Found package properties updated notification for package '000008B7' SMS_DISTRIBUTION_MANAGER 6/21/2014 12:00:31 AM 5836 (0x16CC) ==> 
    Checking Pkgxfermgr.log does not show anything either,  I've tried with 2nd application but again the same result it only shows the the notification message.
    I saw similar issue yesterday but with restart of the sms_exec service it eventually distributed the content, obviously this is not something I like to do too often.
    does anyone have idea what this could be, suggestions are welcome.   Thx.

    Jason,  I've checked the flow from the CAS down to the primary below is quick overview.  The package I'm testing is just small package that we use to check replication is working in our environment it's less then 1MB in size and we run it
    1/week basically update content and then check monitoring-content distribution that it has been received on our 260 DP's around the globe
    CAS (Located in the US EST Time zone)
    Distrmgr.log 11:25am update package and needs to be send to 3x primary sites (A00; B00; C00)
    sender.log  11:30am all 3 primary sites have received the content.
    C00 (Primary site in Singapore having the issue)
    distrmgr.log 11:27pm received notification of the package
    despool.log   11:32pm packaged content extracted successfully
    distrmg.log started to see message Found notification for package '000008B7' and followed by next message
    Package '000008B7' (priority 2) is already in queue.
    This goes one until 1:21am (Singapore time)
    Start updating the package 000008B7... SMS_DISTRIBUTION_MANAGER 6/21/2014 1:21:45 AM 8296 (0x2068)
    The Package Action is 1, the Update Mask is 160 and UpdateMaskEx is 0. SMS_DISTRIBUTION_MANAGER 6/21/2014 1:21:45 AM 8296 (0x2068)
    Use drive G for storing the compressed package. SMS_DISTRIBUTION_MANAGER 6/21/2014 1:21:45 AM 8296 (0x2068)
    Successfully created/updated the package 000008B7 SMS_DISTRIBUTION_MANAGER 6/21/2014 1:21:45 AM 8296 (0x2068)
    STATMSG: ID=2311 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SG-INTRA100.na.pg.com SITE=C00 PID=10132 TID=8296 GMTDATE=Fri Jun 20 17:21:45.848 2014 ISTR0="000008B7" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7=""
    ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="000008B7"
    After that nothing anymore.
    When I check monitoring - content distribution I can see the package being updated/distributed to 80% of my DP's and last 20% are the dp connected below this Primary site.
    To add to the confusion, there was another package distributed around the same time, and then one actually made it to the remote DP's.
    This is first time I see this issue.

  • SMS Notification Issue with ISE 1.3

    We have a problem with SMS notification. Please find the attached snapshot of current SMS email gateway configuration. Guest is receiving notification when I am providing the exact mobile number instead of 974$mobilenumber$ in SMTP API destination address: field.
    We are running ISE 1.3 with patch level 2.
    We are using the  the default option (Global Default) SMS Gateway providers for our configuration rather creating a custom. Any luck??
    Also i would like to notice If the guest portal is a self-registration portal, we can choose the providers. But there is no such configuration if it’s a sponsored guest portal. Please find the second attachment.

    [email protected] is addressed by CSCtu25982. We do not put $mobilenumber$ while defining a SMTP-to-SMS gateway.
    <Prefix>[email protected] is being addressed by CSCus78802, which is being included in ISE 1.3 patch 3.

  • Issues with iMessage when switching data carrier (wifi - cellular)

    So I have had this issue with my 5S and now my 6+ in iMessage. Not *always* but often enough I've run into issues sending messages via iMessage when I associate with wifi in that they don't send. I'll get an error message saying "not delivered" and it will stack as many outgoing messages I try to send. However, if I force the first message to send as text, subsequent messages will go through afterwards without issue. If I go from wifi to cellular I have no issues whatsoever and when I have these issues on wifi, my data works fine (incoming emails, Facebook notifications, etc.). I used to run cellular data only because I had unlimited but now I have a cap so I intend on using wifi when possible...but to have to send my first message as a text just so I can use iMessage is annoying...

    Hi there BigDogg795,
    I would recommend taking a look at the troubleshooting steps for iMessage found in the article below. 
    iOS: Troubleshooting Messages - Apple Support
    To resolve issues with sending and receiving iMessages, follow these steps
    Check iMessage system status for current service issues.
    Go to Settings > Messages > Send & Receive and make sure that you registered iMessage with your phone number or Apple ID and that you selected iMessage for use. If the phone number or Apple ID isn't available for use, troubleshoot iMessage registration.
    Open Safari and navigate to www.apple.com to verify data connectivity. If a data connection isn't available, troubleshoot cellular data or a Wi-Fi connection.
    iMessage over cellular data might not be available while you're on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn which network your phone supports. If your network doesn't support simultaneous data and voice calls, go to Settings > Wi-Fi and turn Wi-Fi on to use iMessage while you're on a call.
    Restart your device.
    Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    If you still can't send or receive an iMessage, follow these steps
    Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    Make sure that the contact you're trying to send a message to is registered with iMessage.
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact in the Contacts app. Create a new message to the newly created contact and try again.
    Back up and restore your device as new.
    -Griff W.

Maybe you are looking for

  • Clean air issues with a mac pro

    have any of you peeps battled with the simple problem of air quality around a mac pro. my machine exhausts so much hot air and fumes (it's always done this, i know there's no technical problem, i'm just super-aware of air quality, do a lot of yoga et

  • MacBook Pro crashes intermittently...

    Usually at night while my mac is asleep it restarts and informs me of the cause of the crash, which I have difficulty understanding. Would anyone know what the cause of my crash is? Thanks. Here's the report: Interval Since Last Panic Report:  177635

  • Connection pooling of SOAPConnection objects

    We have a requirement to pass SOAP Message to the Web service server. Currently we are creating the SOAP messages using SAAJ (SOAP with attachments API for java) APIs provided by SUN. The external system from where we are consuming the webservices ha

  • Problems with composing a message with Gmail in RTL mode

    It happens in RTL mode when you mix Hebrew text with numbers or with English text. It happens only in Firefox. No problem with Chrome or IE browsers for example. Steps to reproduce: 1. Type some Hebrew text without hitting the "enter" key. like שנה ט

  • LOV based result set

    Hi, I have a LOV in APEX though which all classes will be selected and also search button. when a class is selected in the LOV and search button pressed it will retrive all the students based on the class. Now I want to know is there any way I can ge